diff options
author | Dustin Brody <libav@parsoma.net> | 2011-10-22 08:44:16 -0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-10-22 14:49:55 +0200 |
commit | 9abc98737fe12ee67ddb7d52e9d497d4de2bac6c (patch) | |
tree | 35b72173105b169278e263f6d77129b84beea823 /libavcodec/mxpegdec.c | |
parent | 5ea0001f9eadcbe2ab4ff934c788db04d9704e30 (diff) | |
download | ffmpeg-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/mxpegdec.c')
-rw-r--r-- | libavcodec/mxpegdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mxpegdec.c b/libavcodec/mxpegdec.c index fd3fef47a9..6f0d0457f7 100644 --- a/libavcodec/mxpegdec.c +++ b/libavcodec/mxpegdec.c @@ -274,11 +274,11 @@ static int mxpeg_decode_frame(AVCodecContext *avctx, } ret = ff_mjpeg_decode_sos(jpg, s->mxm_bitmask, reference_ptr); - if (ret < 0 && avctx->error_recognition >= FF_ER_EXPLODE) + if (ret < 0 && (avctx->err_recognition & AV_EF_EXPLODE)) return ret; } else { ret = ff_mjpeg_decode_sos(jpg, NULL, NULL); - if (ret < 0 && avctx->error_recognition >= FF_ER_EXPLODE) + if (ret < 0 && (avctx->err_recognition & AV_EF_EXPLODE)) return ret; } |