[FFmpeg-devel] [PATCH 1/5] lavc: use LOCAL_ALIGNED instead of DECLARE_ALIGNED

Christophe Gisquet christophe.gisquet at gmail.com
Sat Mar 14 19:57:19 CET 2015


Hi,

2015-03-14 18:38 GMT+01:00 Michael Niedermayer <michaelni at gmx.at>:
>>  static void ff_prores_idct_wrap(int16_t *dst){
>> -    DECLARE_ALIGNED(16, static int16_t, qmat)[64];
>> +    LOCAL_ALIGNED(16, static int16_t, qmat, [64]);
>>      int i;
>
> this seems to break build
>
> ffmpeg/libavcodec/dct-test.c: In function ‘ff_prores_idct_wrap’:
> ffmpeg/libavcodec/dct-test.c:69:28: error: expected expression before ‘static’
> ffmpeg/libavcodec/dct-test.c:69:13: warning: unused variable ‘la_qmat’

Ok again, I never build dct-test.

I guess the issue is the unneeded static (actually you've confirmed it
in a later mail).

So here's an updated patch.

Best regards,
Christophe


More information about the ffmpeg-devel mailing list