[FFmpeg-cvslog] mkv: Correctly report the latest packet had been flushed

Luca Barbato git at videolan.org
Tue Jun 9 18:30:41 CEST 2015


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Tue Jun  9 10:47:11 2015 +0200| [b14086ca38efa1a86cb0f0c6aa147b05f698877b] | committer: Luca Barbato

mkv: Correctly report the latest packet had been flushed

Bug-Id: 865
CC: libav-stable at libav.org

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b14086ca38efa1a86cb0f0c6aa147b05f698877b
---

 libavformat/matroskaenc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
 }



More information about the ffmpeg-cvslog mailing list