mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 19:30:05 +00:00
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