summaryrefslogtreecommitdiff
path: root/libavcodec/proresdec.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-09-20 00:30:25 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-09-20 19:05:51 +0200
commit0bbb1cdc28f1f38239f6edfbe9da5b4ca8403193 (patch)
tree39befc93f8abaf6853352ec8175ae5e2d5cec54e /libavcodec/proresdec.c
parentb9acca288e996ae0a9ecf84eec0a2ddadc4201f1 (diff)
Use correct LOCAL_ALIGNED for stack variables instead of DECLARE_ALIGNED.
LOCAL_ALIGNED should work for all compilers/systems whereas DECLARE_ALIGNED does not work on some (do not remember which though). Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec/proresdec.c')
-rw-r--r--libavcodec/proresdec.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/proresdec.c b/libavcodec/proresdec.c
index 810d523682..3f8f48bac2 100644
--- a/libavcodec/proresdec.c
+++ b/libavcodec/proresdec.c
@@ -397,7 +397,8 @@ static void decode_slice_luma(AVCodecContext *avctx, SliceContext *slice,
const int *qmat)
{
ProresContext *ctx = avctx->priv_data;
- DECLARE_ALIGNED(16, DCTELEM, blocks)[8*4*64], *block;
+ LOCAL_ALIGNED_16(DCTELEM, blocks, [8*4*64]);
+ DCTELEM *block;
GetBitContext gb;
int i, blocks_per_slice = slice->mb_count<<2;
@@ -426,7 +427,8 @@ static void decode_slice_chroma(AVCodecContext *avctx, SliceContext *slice,
const int *qmat)
{
ProresContext *ctx = avctx->priv_data;
- DECLARE_ALIGNED(16, DCTELEM, blocks)[8*4*64], *block;
+ LOCAL_ALIGNED_16(DCTELEM, blocks, [8*4*64]);
+ DCTELEM *block;
GetBitContext gb;
int i, blocks_per_slice = slice->mb_count*2;