aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h263dec.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/h263dec.c
parent5ea0001f9eadcbe2ab4ff934c788db04d9704e30 (diff)
downloadffmpeg-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/h263dec.c')
-rw-r--r--libavcodec/h263dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 8786679a41..48f8240bc8 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -724,7 +724,7 @@ intrax8_decoded:
av_log(avctx, AV_LOG_DEBUG, "%"PRId64"\n", rdtsc()-time);
#endif
- return (ret && avctx->error_recognition >= FF_ER_EXPLODE)?ret:get_consumed_bytes(s, buf_size);
+ return (ret && (avctx->err_recognition & AV_EF_EXPLODE))?ret:get_consumed_bytes(s, buf_size);
}
AVCodec ff_h263_decoder = {