On Sat, Mar 14, 2015 at 03:30:25PM +0000, Christophe Gisquet wrote: > The later may yield incorrect code for on-stack variables. > --- > libavcodec/x86/ac3dsp_init.c | 2 +- > libavcodec/x86/cavsdsp.c | 4 ++-- > libavcodec/x86/dct-test.c | 4 ++-- > libavcodec/x86/h264_qpel.c | 22 +++++++++++----------- > libavcodec/x86/rv40dsp_init.c | 2 +- > libavcodec/x86/vc1dsp_mmx.c | 2 +- > libavcodec/x86/vp8dsp_init.c | 4 ++-- > 7 files changed, 20 insertions(+), 20 deletions(-) [...] > diff --git a/libavcodec/x86/dct-test.c b/libavcodec/x86/dct-test.c > index d1a5067..8e8da0c 100644 > --- a/libavcodec/x86/dct-test.c > +++ b/libavcodec/x86/dct-test.c > @@ -28,8 +28,8 @@ void ff_prores_idct_put_10_sse2(uint16_t *dst, int linesize, > > #define PR_WRAP(INSN) \ > static void ff_prores_idct_put_10_##INSN##_wrap(int16_t *dst){ \ > - DECLARE_ALIGNED(16, static int16_t, qmat)[64]; \ > - DECLARE_ALIGNED(16, static int16_t, tmp)[64]; \ > + LOCAL_ALIGNED(16, static int16_t, qmat, [64]); \ > + LOCAL_ALIGNED(16, static int16_t, tmp, [64]); \ > int i; \
LOCAL_ALIGNED + static looks unintended [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB There will always be a question for which you do not know the correct answer.
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel