aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-24 20:42:07 +0200
committerMartin Storsjö <martin@martin.st>2013-05-28 13:56:20 +0300
commit17410faa22a91cea82087395790faad745789fc8 (patch)
tree6ec363a09a55a404970fb61db3bbbecc33bc46ba /libavcodec
parent1be175f929b9a7429b2226ebb07a9a3a5b50256c (diff)
downloadffmpeg-17410faa22a91cea82087395790faad745789fc8.tar.gz
vc1dec: Match addressing between compensation and MC in vc1_mc_4mv_chroma4
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/vc1dec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index c648929e1f..2b3edc6725 100644
--- a/libavcodec/vc1dec.c
+++ b/libavcodec/vc1dec.c
@@ -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;
}
}
}