Commit 0bbb1cdc authored by Reimar Döffinger's avatar Reimar Döffinger

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: 's avatarReimar Döffinger <Reimar.Doeffinger@gmx.de>
parent b9acca28
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment