[FFmpeg-devel] [PATCH] FF_ARRAY_SIZE()
Sat May 19 17:55:05 CEST 2007
On Sat, May 19, 2007 at 05:48:06PM +0200, Aurelien Jacobs wrote:
> The attached patch adds a FF_ARRAY_SIZE() macro and uses it everywhere.
> I think it's cleaner this way.
> Ok to apply ?
> +#define FF_ARRAY_SIZE(a) (sizeof(a)/sizeof(*a))
> +#define FF_ARRAY_SIZE2(a) (sizeof(a)/sizeof(**a))
IMO please think of a proper name for FF_ARRAY_SIZE2, the name is not at
More information about the ffmpeg-devel