aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ituh263dec.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-04-27 19:13:27 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-05-22 15:34:39 +0100
commit9c1db92ad372d4cd69e0490e691c56e4097cb193 (patch)
treefe9da8747f4aecab137273ba64adea9a2a849f38 /libavcodec/ituh263dec.c
parent848e86f74d3e6e87fa592ee8ba8c184cc5fd9a42 (diff)
downloadffmpeg-9c1db92ad372d4cd69e0490e691c56e4097cb193.tar.gz
mpegvideo: Drop err_recognition
It is just a duplicate of an AVCodecContext member so use it instead.
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 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)