diff options
author | Dustin Brody <libav@parsoma.net> | 2011-10-22 16:44:16 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-10-22 16:49:55 +0400 |
commit | 9abc98737fe12ee67ddb7d52e9d497d4de2bac6c (patch) | |
tree | 35b72173105b169278e263f6d77129b84beea823 /libavcodec/mjpegdec.c | |
parent | 5ea0001f9eadcbe2ab4ff934c788db04d9704e30 (diff) |
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/mjpegdec.c')
-rw-r--r-- | libavcodec/mjpegdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index 592dfe75b7..0a1236c225 100644 --- a/libavcodec/mjpegdec.c +++ b/libavcodec/mjpegdec.c @@ -1531,7 +1531,7 @@ eoi_parser: break; } if (ff_mjpeg_decode_sos(s, NULL, NULL) < 0 && - avctx->error_recognition >= FF_ER_EXPLODE) + (avctx->err_recognition & AV_EF_EXPLODE)) return AVERROR_INVALIDDATA; /* buggy avid puts EOI every 10-20th frame */ /* if restart period is over process EOI */ |