From 32b1131fc16e1ff86f62632d13ca4c49070e012a Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 9 Jun 2015 18:42:55 +0200 Subject: [PATCH] avformat/oggenc: Fix return code in case of flushing Signed-off-by: Michael Niedermayer --- libavformat/oggenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/oggenc.c b/libavformat/oggenc.c index 873dfacbf6..2c0a44e455 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)