avformat/oggenc: Fix return code in case of flushing
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
dac7b27802
commit
32b1131fc1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user