[FFmpeg-cvslog] avformat/oggenc: Fix return code in case of flushing

Michael Niedermayer git at videolan.org
Tue Jun 9 18:55:49 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at 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 <michaelni at 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)



More information about the ffmpeg-cvslog mailing list