aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/wmv2.c
diff options
context:
space:
mode:
authorDiego Biurrun2013-12-27 10:29:14 +0100
committerDiego Biurrun2014-05-29 06:41:15 -0700
commit256da0770e495176d1b2699ec6e9c7993c2a6d7b (patch)
treedb3fb26e041fbfc2fc18fa390a9fe4008b10230b /libavcodec/wmv2.c
parent3832a6590156e6abc575bed51cbffa78617ee5fd (diff)
dsputil: Move mspel_pixels_tab to the only place it is used
Diffstat (limited to 'libavcodec/wmv2.c')
-rw-r--r--libavcodec/wmv2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/wmv2.c b/libavcodec/wmv2.c
index 9ba9451147..003f0220c1 100644
--- a/libavcodec/wmv2.c
+++ b/libavcodec/wmv2.c
@@ -129,10 +129,10 @@ void ff_mspel_motion(MpegEncContext *s,
emu=1;
}
- s->dsp.put_mspel_pixels_tab[dxy](dest_y , ptr , linesize);
- s->dsp.put_mspel_pixels_tab[dxy](dest_y+8 , ptr+8 , linesize);
- s->dsp.put_mspel_pixels_tab[dxy](dest_y +8*linesize, ptr +8*linesize, linesize);
- s->dsp.put_mspel_pixels_tab[dxy](dest_y+8+8*linesize, ptr+8+8*linesize, linesize);
+ w->wdsp.put_mspel_pixels_tab[dxy](dest_y, ptr, linesize);
+ w->wdsp.put_mspel_pixels_tab[dxy](dest_y + 8, ptr + 8, linesize);
+ w->wdsp.put_mspel_pixels_tab[dxy](dest_y + 8 * linesize, ptr + 8 * linesize, linesize);
+ w->wdsp.put_mspel_pixels_tab[dxy](dest_y + 8 + 8 * linesize, ptr + 8 + 8 * linesize, linesize);
if(s->flags&CODEC_FLAG_GRAY) return;