aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2008-12-02 18:12:48 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2008-12-02 18:12:48 +0000
commit958a2b5d6b05e6e04bc6e7fb0118bfe611eb792c (patch)
tree6f70424da7ffe5d189549bd2d5d13b70efccc1f3 /libavcodec
parent1799d5223eba3eb8f5ae1f1db71674af9dabcb6a (diff)
downloadffmpeg-958a2b5d6b05e6e04bc6e7fb0118bfe611eb792c.tar.gz
34l: forgot to change one case of chroma MC for RV40
Originally committed as revision 15982 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/rv34.c3
1 files changed, 2 insertions, 1 deletions
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,