diff options
author | Steve L'Homme <slhomme@divxcorp.com> | 2006-02-05 13:35:17 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-02-05 13:35:17 +0000 |
commit | 68b51e58ce73d99d2cd9bfa14cb7daaf4a74047e (patch) | |
tree | 1a1aa0365436dae8d8e2a80887f13d631d141cad /libavcodec/mpegvideo.h | |
parent | 04c669ba98955535c00b5283eebafec773d2e83d (diff) | |
download | ffmpeg-streaming-68b51e58ce73d99d2cd9bfa14cb7daaf4a74047e.zip ffmpeg-streaming-68b51e58ce73d99d2cd9bfa14cb7daaf4a74047e.tar.gz |
MSVC-compatible __align8/__align16 declaration
patch by Steve Lhomme, steve .dot. lhomme .at. free .dot. fr
Originally committed as revision 4942 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r-- | libavcodec/mpegvideo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index 14631d4..888b0b6 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -134,7 +134,7 @@ typedef struct ScanTable{ uint8_t raster_end[64]; #ifdef ARCH_POWERPC /** Used by dct_quantise_alitvec to find last-non-zero */ - uint8_t __align8 inverse[64]; + DECLARE_ALIGNED_8(uint8_t, inverse[64]); #endif } ScanTable; @@ -494,7 +494,7 @@ typedef struct MpegEncContext { uint16_t (*q_inter_matrix16)[2][64]; int block_last_index[12]; ///< last non zero coefficient in block /* scantables */ - ScanTable __align8 intra_scantable; + DECLARE_ALIGNED_8(ScanTable, intra_scantable); ScanTable intra_h_scantable; ScanTable intra_v_scantable; ScanTable inter_scantable; ///< if inter == intra then intra should be used to reduce tha cache usage |