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)