[FFmpeg-cvslog] vc1dec: fix current ptr selection in vc1_mc_4mv_chroma()

Michael Niedermayer git at videolan.org
Wed Apr 24 15:08:25 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Apr 24 15:01:08 2013 +0200| [c5669f3c5996836f13b47ede4cf430035041cd7c] | committer: Michael Niedermayer

vc1dec: fix current ptr selection in vc1_mc_4mv_chroma()

No sample tried shows a difference

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c5669f3c5996836f13b47ede4cf430035041cd7c
---

 libavcodec/vc1dec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index cec36c6..d79d484 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 {



More information about the ffmpeg-cvslog mailing list