avformat/oggenc: Fix return code in case of flushing

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-06-09 18:42:55 +02:00
parent dac7b27802
commit 32b1131fc1

View File

@ -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)