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 ad258666c6ab5f188897932b954fcbf6abc78808..bde3a1cf52232547b6438f200550504cb1c9e85e 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;