[FFmpeg-devel] [PATCH] Make LOCAL_ALIGNED macro fully C99 compatible (original) (raw)

Ronald S. Bultje rsbultje
Fri Jan 21 20:19:03 CET 2011


Hi,

On Fri, Jan 21, 2011 at 1:54 PM, Mans Rullgard 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 --- ?libavcodec/dsputil.h | ? 18 +++++++++++------- ?1 files changed, 11 insertions(+), 7 deletions(-)

I thought I ok'ed this last time, but just in case: ok.

Ronald



More information about the ffmpeg-devel mailing list