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

Michael Niedermayer michaelni at gmx.at
Sat Mar 14 20:06:15 CET 2015


On Sat, Mar 14, 2015 at 07:57:19PM +0100, Christophe Gisquet wrote:
> 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.

yes, but not in the email ;)


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150314/c442f3a5/attachment.asc>


More information about the ffmpeg-devel mailing list