vc1dec: Match addressing between compensation and MC in vc1_mc_4mv_chroma4
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 24 Apr 2013 18:42:07 +0000 (20:42 +0200)
committerMartin Storsjö <martin@martin.st>
Tue, 28 May 2013 10:56:20 +0000 (13:56 +0300)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/vc1dec.c

index c648929..2b3edc6 100644 (file)
@@ -1028,8 +1028,8 @@ static void vc1_mc_4mv_chroma4(VC1Context *v, int dir, int dir2, int avg)
                         src[i]  = lutuv[f][src[i]];
                         src2[i] = lutuv[f][src2[i]];
                     }
-                    src  += s->uvlinesize << 1;
-                    src2 += s->uvlinesize << 1;
+                    src  += s->uvlinesize << fieldmv;
+                    src2 += s->uvlinesize << fieldmv;
                 }
             }
         }