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
This commit is contained in:
Steve L'Homme 2006-02-05 13:35:17 +00:00 committed by Diego Biurrun
parent 04c669ba98
commit 68b51e58ce
19 changed files with 82 additions and 73 deletions

View file

@ -873,7 +873,7 @@ typedef struct MJpegDecodeContext {
AVFrame picture; /* picture structure */
int linesize[MAX_COMPONENTS]; ///< linesize << interlaced
int8_t *qscale_table;
DCTELEM block[64] __align8;
DECLARE_ALIGNED_8(DCTELEM, block[64]);
ScanTable scantable;
void (*idct_put)(uint8_t *dest/*align 8*/, int line_size, DCTELEM *block/*align 16*/);