avformat/microdvdenc: Use avio_w8 to write a char

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Andreas Rheinhardt 2019-12-12 16:53:18 +01:00 committed by Michael Niedermayer
parent 9bde6c6be0
commit 39561bbe77

View File

@ -52,7 +52,7 @@ static int microdvd_write_packet(AVFormatContext *avf, AVPacket *pkt)
else
avio_printf(avf->pb, "{%"PRId64"}", pkt->pts + pkt->duration);
avio_write(avf->pb, pkt->data, pkt->size);
avio_write(avf->pb, "\n", 1);
avio_w8(avf->pb, '\n');
return 0;
}