diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2015-06-09 10:47:11 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-06-09 14:27:54 +0200 |
commit | b14086ca38efa1a86cb0f0c6aa147b05f698877b (patch) | |
tree | 2380b1b4f451fd46fcfb070f9bbce23be0daf619 /libavformat | |
parent | b380337020e271c5431aa8ef8f8e9dfda5e919b2 (diff) | |
download | ffmpeg-streaming-b14086ca38efa1a86cb0f0c6aa147b05f698877b.zip ffmpeg-streaming-b14086ca38efa1a86cb0f0c6aa147b05f698877b.tar.gz |
mkv: Correctly report the latest packet had been flushed
Bug-Id: 865
CC: libav-stable@libav.org
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/matroskaenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 91c4459..b1c0020 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -1630,7 +1630,7 @@ static int mkv_write_flush_packet(AVFormatContext *s, AVPacket *pkt) mkv_flush_dynbuf(s); avio_flush(s->pb); } - return 0; + return 1; } return mkv_write_packet(s, pkt); } |