summaryrefslogtreecommitdiff
path: root/libavcodec/mjpeg.c
diff options
context:
space:
mode:
authorSteve L'Homme <slhomme@divxcorp.com>2006-02-05 13:35:17 +0000
committerDiego Biurrun <diego@biurrun.de>2006-02-05 13:35:17 +0000
commit68b51e58ce73d99d2cd9bfa14cb7daaf4a74047e (patch)
tree1a1aa0365436dae8d8e2a80887f13d631d141cad /libavcodec/mjpeg.c
parent04c669ba98955535c00b5283eebafec773d2e83d (diff)
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/mjpeg.c')
-rw-r--r--libavcodec/mjpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mjpeg.c b/libavcodec/mjpeg.c
index 15c63f4ca8..951a622ee1 100644
--- a/libavcodec/mjpeg.c
+++ b/libavcodec/mjpeg.c
@@ -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*/);