[FFmpeg-devel] [PATCH 4/5] avfilter: avoid zero arguments to variadic macro

Nicolas George george at nsup.org
Sat Oct 24 15:33:50 CEST 2015


Le tridi 3 brumaire, an CCXXIV, Ganesh Ajjanagadde a écrit :
> ISO C requires at least one argument in the place of the ellipsis in a
> variadic macro. In particular, under -pedantic, this triggers the
> warning -Wgnu-zero-variadic-macro-arguments on clang 3.7.
> 
> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
> ---
>  libavfilter/af_asetrate.c |  4 ++--
>  libavfilter/asrc_sine.c   | 18 +++++++++---------
>  2 files changed, 11 insertions(+), 11 deletions(-)

Ok. Good catch.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151024/a0f35d81/attachment.sig>


More information about the ffmpeg-devel mailing list