34l: forgot to change one case of chroma MC for RV40
authorKostya Shishkov <kostya.shishkov@gmail.com>
Tue, 2 Dec 2008 18:12:48 +0000 (18:12 +0000)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Tue, 2 Dec 2008 18:12:48 +0000 (18:12 +0000)
Originally committed as revision 15982 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/rv34.c

index ec80035..ecba8d2 100644 (file)
@@ -720,7 +720,8 @@ static void rv34_mc_2mv(RV34DecContext *r, const int block_type)
     rv34_mc(r, block_type, 0, 0, 0, 2, 2, 0, r->rv30,
             r->rv30 ? r->s.dsp.put_rv30_tpel_pixels_tab
                     : r->s.dsp.put_rv40_qpel_pixels_tab,
-            r->s.dsp.put_h264_chroma_pixels_tab);
+            r->rv30 ? r->s.dsp.put_h264_chroma_pixels_tab
+                    : r->s.dsp.put_rv40_chroma_pixels_tab);
     rv34_mc(r, block_type, 0, 0, 0, 2, 2, 1, r->rv30,
             r->rv30 ? r->s.dsp.avg_rv30_tpel_pixels_tab
                     : r->s.dsp.avg_rv40_qpel_pixels_tab,