lavc: replace references to deprecated AVCodecContext.error_recognition to use AVCodecContext.err_recognition
Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:

committed by
Anton Khirnov

parent
5ea0001f9e
commit
9abc98737f
@@ -594,7 +594,7 @@ static av_cold int aac_decode_init(AVCodecContext *avctx)
|
||||
int ret = set_default_channel_config(avctx, new_che_pos, ac->m4ac.chan_config);
|
||||
if (!ret)
|
||||
output_configure(ac, ac->che_pos, new_che_pos, ac->m4ac.chan_config, OC_GLOBAL_HDR);
|
||||
else if (avctx->error_recognition >= FF_ER_EXPLODE)
|
||||
else if (avctx->err_recognition & AV_EF_EXPLODE)
|
||||
return AVERROR_INVALIDDATA;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user