From 958a2b5d6b05e6e04bc6e7fb0118bfe611eb792c Mon Sep 17 00:00:00 2001
From: Kostya Shishkov <kostya.shishkov@gmail.com>
Date: Tue, 2 Dec 2008 18:12:48 +0000
Subject: 34l: forgot to change one case of chroma MC for RV40

Originally committed as revision 15982 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/rv34.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'libavcodec')

diff --git a/libavcodec/rv34.c b/libavcodec/rv34.c
index ec80035ac8..ecba8d21a9 100644
--- a/libavcodec/rv34.c
+++ b/libavcodec/rv34.c
@@ -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,
-- 
cgit v1.2.3