[FFmpeg-devel] [PATCH] bink: use LOCAL_ALIGNED for aligned stack data

Kostya kostya.shishkov
Fri Feb 25 20:49:03 CET 2011


On Fri, Feb 25, 2011 at 07:34:39PM +0000, Mans Rullgard wrote:
> Signed-off-by: Mans Rullgard <mans at mansr.com>
> ---
>  libavcodec/bink.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/libavcodec/bink.c b/libavcodec/bink.c
> index b77e9db..d1985ed 100644
> --- a/libavcodec/bink.c
> +++ b/libavcodec/bink.c
> @@ -790,7 +790,7 @@ static int binkb_decode_plane(BinkContext *c, GetBitContext *gb, int plane_idx,
>      int v, col[2];
>      const uint8_t *scan;
>      int xoff, yoff;
> -    DECLARE_ALIGNED(16, DCTELEM, block[64]);
> +    LOCAL_ALIGNED_16(DCTELEM, block, [64]);
>      int coordmap[64];
>      int ybias = is_key ? -15 : 0;
>      int qp;
> -- 
> 1.7.4.1

looks ok



More information about the ffmpeg-devel mailing list