diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-12-24 22:47:38 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-12-25 01:25:29 +0100 |
commit | b51cc701bc4ac34959944f30ca8a7e01e1338d43 (patch) | |
tree | 6f3fca8121d5d17e5f267ab9cd3fde39113c0fd1 | |
parent | b94e85453e900b056dde1be6050c13ed69bbbd5d (diff) | |
download | ffmpeg-b51cc701bc4ac34959944f30ca8a7e01e1338d43.tar.gz |
avcodec/vc1_mc: use the same reference as luma does in ff_vc1_mc_4mv_chroma()
Fixes Ticket3230
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/vc1_mc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vc1_mc.c b/libavcodec/vc1_mc.c index 09e8facfea..17800cb457 100644 --- a/libavcodec/vc1_mc.c +++ b/libavcodec/vc1_mc.c @@ -529,7 +529,7 @@ void ff_vc1_mc_4mv_chroma(VC1Context *v, int dir) /* calculate chroma MV vector from four luma MVs */ if (!v->field_mode || (v->field_mode && !v->numref)) { valid_count = get_chroma_mv(mvx, mvy, intra, 0, &tx, &ty); - chroma_ref_type = v->reffield; + chroma_ref_type = v->ref_field_type[dir]; if (!valid_count) { s->current_picture.motion_val[1][s->block_index[0] + v->blocks_off][0] = 0; s->current_picture.motion_val[1][s->block_index[0] + v->blocks_off][1] = 0; |