From 256da0770e495176d1b2699ec6e9c7993c2a6d7b Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 27 Dec 2013 10:29:14 +0100 Subject: dsputil: Move mspel_pixels_tab to the only place it is used --- libavcodec/wmv2.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libavcodec/wmv2.c') 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; -- cgit v1.2.3