ffmpeg | branch: master | Luca Barbato <lu_z...@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-sta...@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);
 }

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to