From 9c1db92ad372d4cd69e0490e691c56e4097cb193 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Mon, 27 Apr 2015 19:13:27 +0100 Subject: mpegvideo: Drop err_recognition It is just a duplicate of an AVCodecContext member so use it instead. --- libavcodec/ituh263dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/ituh263dec.c') diff --git a/libavcodec/ituh263dec.c b/libavcodec/ituh263dec.c index e9e4a3555c..a89e5d0a37 100644 --- a/libavcodec/ituh263dec.c +++ b/libavcodec/ituh263dec.c @@ -481,7 +481,7 @@ static int h263_decode_block(MpegEncContext * s, int16_t * 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->err_recognition & AV_EF_BITSTREAM) + if (s->avctx->err_recognition & AV_EF_BITSTREAM) return -1; } if (level == 255) -- cgit v1.2.3