changeset 9127:5d2f8632d417 libavcodec

100l, interplayvideo uses 8x8 blocks, so call the 8x8 put_pixels_tab function instead of the 16x16 one. Seems to fix decoding on PPC.
author reimar
date Wed, 04 Mar 2009 18:18:49 +0000
parents 851ff1a23191
children 793cf8c68c4f
files interplayvideo.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/interplayvideo.c	Wed Mar 04 17:12:58 2009 +0000
+++ b/interplayvideo.c	Wed Mar 04 18:18:49 2009 +0000
@@ -94,7 +94,7 @@
             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 @@
             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 @@
             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)