[FFmpeg-cvslog] vc1dec: Match addressing between compensation and MC in vc1_mc_4mv_chroma4

Michael Niedermayer git at videolan.org
Wed May 29 03:36:21 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Apr 24 20:42:07 2013 +0200| [17410faa22a91cea82087395790faad745789fc8] | committer: Martin Storsjö

vc1dec: Match addressing between compensation and MC in vc1_mc_4mv_chroma4

Signed-off-by: Martin Storsjö <martin at martin.st>

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

 libavcodec/vc1dec.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index c648929..2b3edc6 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;
                 }
             }
         }



More information about the ffmpeg-cvslog mailing list