mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 11:19:55 +00:00
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:
parent
9bde6c6be0
commit
39561bbe77
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user