Fix compilation on powerpc.
authorAurelien Jacobs <aurel@gnuage.org>
Tue, 4 Mar 2008 18:35:12 +0000 (18:35 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Tue, 4 Mar 2008 18:35:12 +0000 (18:35 +0000)
DECLARE_ALIGNED_8 is not defined at that point, but this code is powerpc
only, so it's really equivalent to DECLARE_ALIGNED(16...

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

libavcodec/dsputil.h

index ad25866..bde3a1c 100644 (file)
@@ -162,7 +162,7 @@ typedef struct ScanTable{
     uint8_t raster_end[64];
 #ifdef ARCH_POWERPC
                 /** Used by dct_quantize_altivec to find last-non-zero */
-    DECLARE_ALIGNED_8(uint8_t, inverse[64]);
+    DECLARE_ALIGNED(16, uint8_t, inverse[64]);
 #endif
 } ScanTable;