Commit 32b1131f authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/oggenc: Fix return code in case of flushing

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent dac7b278
...@@ -620,7 +620,7 @@ static int ogg_write_packet(AVFormatContext *s, AVPacket *pkt) ...@@ -620,7 +620,7 @@ static int ogg_write_packet(AVFormatContext *s, AVPacket *pkt)
} }
ogg_write_pages(s, 2); ogg_write_pages(s, 2);
return 0; return 1;
} }
static int ogg_write_trailer(AVFormatContext *s) static int ogg_write_trailer(AVFormatContext *s)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment