[FFmpeg-devel] [PATCH] Make LOCAL_ALIGNED macro fully C99 compatible
Fri Jan 21 20:39:33 CET 2011
"Ronald S. Bultje" <rsbultje at gmail.com> writes:
> On Fri, Jan 21, 2011 at 1:54 PM, Mans Rullgard <mans at mansr.com> wrote:
>> C99 variadic macros require more arguments than there are named
>> parameters in the definition. ?This means we must use an extra
>> indirection to avoid having two different macros for arrays with
>> one resp more than one dimension.
>> Signed-off-by: Mans Rullgard <mans at mansr.com>
>> ?libavcodec/dsputil.h | ? 18 +++++++++++-------
>> ?1 files changed, 11 insertions(+), 7 deletions(-)
> I thought I ok'ed this last time, but just in case: ok.
This is an updated patch after some ideas from Uoti.
mans at mansr.com
More information about the ffmpeg-devel