summaryrefslogtreecommitdiffstats
path: root/libavcodec/aacdec.c
diff options
context:
space:
mode:
authorDustin Brody <libav@parsoma.net>2011-10-22 08:44:16 -0400
committerAnton Khirnov <anton@khirnov.net>2011-10-22 14:49:55 +0200
commit9abc98737fe12ee67ddb7d52e9d497d4de2bac6c (patch)
tree35b72173105b169278e263f6d77129b84beea823 /libavcodec/aacdec.c
parent5ea0001f9eadcbe2ab4ff934c788db04d9704e30 (diff)
downloadffmpeg-streaming-9abc98737fe12ee67ddb7d52e9d497d4de2bac6c.zip
ffmpeg-streaming-9abc98737fe12ee67ddb7d52e9d497d4de2bac6c.tar.gz
lavc: replace references to deprecated AVCodecContext.error_recognition to use AVCodecContext.err_recognition
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/aacdec.c')
-rw-r--r--libavcodec/aacdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c
index a3a6b42..e4e18d6 100644
--- a/libavcodec/aacdec.c
+++ b/libavcodec/aacdec.c
@@ -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;
}
}
OpenPOWER on IntegriCloud