diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-06-09 18:42:55 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-09 18:42:55 +0200 |
commit | 32b1131fc16e1ff86f62632d13ca4c49070e012a (patch) | |
tree | 212ac66d62bf931b647c3b4ef2dc336a71a0a868 | |
parent | dac7b278026401a67795181c22f6eaaf72095074 (diff) | |
download | ffmpeg-32b1131fc16e1ff86f62632d13ca4c49070e012a.tar.gz |
avformat/oggenc: Fix return code in case of flushing
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/oggenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |