Use #if HAVE_* instead of #ifdef HAVE_*
#ifdef HAVE_*
doesn't work as intended if the macro is defined like #define HAVE_FOO 0
. #if HAVE_*
is already widely used in dav1d so this just makes the other macro usages consistent with that style.
#ifdef HAVE_*
doesn't work as intended if the macro is defined like #define HAVE_FOO 0
. #if HAVE_*
is already widely used in dav1d so this just makes the other macro usages consistent with that style.
VideoLAN code repository instance