diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c index c7edc25a25..a8dd38ad5f 100644 --- a/libavcodec/vc1.c +++ b/libavcodec/vc1.c @@ -576,7 +576,7 @@ int ff_vc1_parse_frame_header(VC1Context *v, GetBitContext* gb) if (v->finterpflag) v->interpfrm = get_bits1(gb); - if (v->s.avctx->codec->id == AV_CODEC_ID_MSS2) + if (v->s.avctx->codec_id == AV_CODEC_ID_MSS2) v->respic = v->rangered = v->multires = get_bits(gb, 2) == 1;