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 ec80035ac8f4517d88091d8b39a8e26cbb45c290..ecba8d21a92724f813f6caa885357f3de5aa07f0 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,