From c5669f3c5996836f13b47ede4cf430035041cd7c Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michaelni@gmx.at>
Date: Wed, 24 Apr 2013 15:01:08 +0200
Subject: [PATCH] vc1dec: fix current ptr selection in vc1_mc_4mv_chroma()

No sample tried shows a difference

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
---
 libavcodec/vc1dec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index cec36c6c6d1..d79d484c7ea 100644
--- a/libavcodec/vc1dec.c
+++ b/libavcodec/vc1dec.c
@@ -849,7 +849,7 @@ static void vc1_mc_4mv_chroma(VC1Context *v, int dir)
     }
 
     if (!dir) {
-        if (v->field_mode && (v->cur_field_type != chroma_ref_type) && v->cur_field_type) {
+        if (v->field_mode && (v->cur_field_type != chroma_ref_type) && v->second_field) {
             srcU = s->current_picture.f.data[1];
             srcV = s->current_picture.f.data[2];
         } else {
-- 
GitLab