aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ituh263dec.c
diff options
context:
space:
mode:
authorDustin Brody <libav@parsoma.net>2011-12-07 08:51:36 -0500
committerAnton Khirnov <anton@khirnov.net>2011-12-12 19:42:50 +0100
commit5b22d6e1323989b078ad097c5b50dddbbf0fe251 (patch)
treee0849f4ac32349b89bd198b3eb8d55e26a7470b1 /libavcodec/ituh263dec.c
parentf6cf4be821e1901d983233edff8e22fe310fd6f6 (diff)
downloadffmpeg-5b22d6e1323989b078ad097c5b50dddbbf0fe251.tar.gz
lavc: convert error_recognition to err_recognition.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/ituh263dec.c')
-rw-r--r--libavcodec/ituh263dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ituh263dec.c b/libavcodec/ituh263dec.c
index a234c2ac7a..dceb62b84c 100644
--- a/libavcodec/ituh263dec.c
+++ b/libavcodec/ituh263dec.c
@@ -484,7 +484,7 @@ static int h263_decode_block(MpegEncContext * s, DCTELEM * block,
level = get_bits(&s->gb, 8);
if((level&0x7F) == 0){
av_log(s->avctx, AV_LOG_ERROR, "illegal dc %d at %d %d\n", level, s->mb_x, s->mb_y);
- if(s->error_recognition >= FF_ER_COMPLIANT)
+ if(s->err_recognition & AV_EF_BITSTREAM)
return -1;
}
if (level == 255)