100l, interplayvideo uses 8x8 blocks, so call the 8x8 put_pixels_tab function
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 4 Mar 2009 18:18:49 +0000 (18:18 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 4 Mar 2009 18:18:49 +0000 (18:18 +0000)
instead of the 16x16 one. Seems to fix decoding on PPC.

Originally committed as revision 17808 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/interplayvideo.c

index 2fbc6a1..1ddbbee 100644 (file)
@@ -94,7 +94,7 @@ typedef struct IpvideoContext {
             motion_offset, s->upper_motion_limit_offset); \
         return -1; \
     } \
-    s->dsp.put_pixels_tab[0][0](s->pixel_ptr, \
+    s->dsp.put_pixels_tab[1][0](s->pixel_ptr, \
         s->current_frame.data[0] + motion_offset, s->stride, 8);
 
 #define COPY_FROM_PREVIOUS() \
@@ -109,7 +109,7 @@ typedef struct IpvideoContext {
             motion_offset, s->upper_motion_limit_offset); \
         return -1; \
     } \
-    s->dsp.put_pixels_tab[0][0](s->pixel_ptr, \
+    s->dsp.put_pixels_tab[1][0](s->pixel_ptr, \
         s->last_frame.data[0] + motion_offset, s->stride, 8);
 
 #define COPY_FROM_SECOND_LAST() \
@@ -124,7 +124,7 @@ typedef struct IpvideoContext {
             motion_offset, s->upper_motion_limit_offset); \
         return -1; \
     } \
-    s->dsp.put_pixels_tab[0][0](s->pixel_ptr, \
+    s->dsp.put_pixels_tab[1][0](s->pixel_ptr, \
         s->second_last_frame.data[0] + motion_offset, s->stride, 8);
 
 static int ipvideo_decode_block_opcode_0x0(IpvideoContext *s)