ffmpeg | branch: master | Michael Niedermayer <michae...@gmx.at> | Tue Jun  9 
18:42:55 2015 +0200| [32b1131fc16e1ff86f62632d13ca4c49070e012a] | committer: 
Michael Niedermayer

avformat/oggenc: Fix return code in case of flushing

Signed-off-by: Michael Niedermayer <michae...@gmx.at>

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

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

diff --git a/libavformat/oggenc.c b/libavformat/oggenc.c
index 873dfac..2c0a44e 100644
--- a/libavformat/oggenc.c
+++ b/libavformat/oggenc.c
@@ -620,7 +620,7 @@ static int ogg_write_packet(AVFormatContext *s, AVPacket 
*pkt)
     }
 
     ogg_write_pages(s, 2);
-    return 0;
+    return 1;
 }
 
 static int ogg_write_trailer(AVFormatContext *s)

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

Reply via email to