mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 13:10:37 +00:00
ffv1dec: propagate return code from ffv1_common_init()
Fixes Ticket1824 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
dd11615bbc
commit
fdfbb793c3
@ -717,7 +717,8 @@ static av_cold int decode_init(AVCodecContext *avctx)
|
||||
FFV1Context *f = avctx->priv_data;
|
||||
int ret;
|
||||
|
||||
ffv1_common_init(avctx);
|
||||
if ((ret = ffv1_common_init(avctx)) < 0)
|
||||
return ret;
|
||||
|
||||
if (avctx->extradata && (ret = read_extra_header(f)) < 0)
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user