Browse Source

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>
tags/n4.3
Andreas Rheinhardt Michael Niedermayer 6 years ago
parent
commit
39561bbe77
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/microdvdenc.c

+ 1
- 1
libavformat/microdvdenc.c 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;
}



Loading…
Cancel
Save