X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=libavcodec%2Fvp56.c;h=f3f7eca566235e52fc79749df95c85d73099760f;hb=0114c571d4c8cc1036850ced924683709390681a;hp=f98d22c1cb43d5f914485fd336ef03a8d76206a8;hpb=7ae473e8a04f686bbeda75c40167c2df4211e662;p=ffmpeg diff --git a/libavcodec/vp56.c b/libavcodec/vp56.c index f98d22c1cb4..f3f7eca5662 100644 --- a/libavcodec/vp56.c +++ b/libavcodec/vp56.c @@ -196,7 +196,7 @@ static void vp56_decode_4mv(VP56Context *s, int row, int col) s->macroblocks[row * s->mb_width + col].mv = s->mv[3]; /* chroma vectors are average luma vectors */ - if (s->avctx->codec->id == CODEC_ID_VP5) { + if (s->avctx->codec->id == AV_CODEC_ID_VP5) { s->mv[4].x = s->mv[5].x = RSHIFT(mv.x,2); s->mv[4].y = s->mv[5].y = RSHIFT(mv.y,2); } else { @@ -281,7 +281,7 @@ static void vp56_add_predictors_dc(VP56Context *s, VP56Frame ref_frame) dc += ab->dc_coeff; count++; } - if (s->avctx->codec->id == CODEC_ID_VP5) + if (s->avctx->codec->id == AV_CODEC_ID_VP5) for (i=0; i<2; i++) if (count < 2 && ref_frame == ab[-1+2*i].ref_frame) { dc += ab[-1+2*i].dc_coeff;