[libav-devel] [PATCH] libfdk-aac: Don't use defined() in a #define

Luca Barbato lu_zero at gentoo.org
Thu Sep 13 14:36:44 CEST 2018


On 12/09/2018 22:23, Martin Storsjö wrote:
> MSVC expands the preprocessor directives differently, making the
> version check fail in the previous form.
> ---
> I'm pretty sure I've seen a better description of this issue somewhere,
> I don't remember off-hand right now where that was. But I think the
> gist of it was that the previous form was undefined according to the
> C standard, even if GCC and clang handle it in the same way.
> ---
>  libavcodec/libfdk-aacdec.c | 9 ++++++---
>  libavcodec/libfdk-aacenc.c | 9 ++++++---
>  2 files changed, 12 insertions(+), 6 deletions(-)
> 

Sure.

lu



More information about the libav-devel mailing list