[FFmpeg-devel] [PATCH v2] qsv: fix the dangerous macro definitions
Carl Eugen Hoyos
ceffmpeg at gmail.com
Thu Mar 28 14:02:49 EET 2019
2019-03-28 10:16 GMT+01:00, Zhong Li <zhong.li at intel.com>:
> Signed-off-by: Zhong Li <zhong.li at intel.com>
> ---
> libavcodec/qsv_internal.h | 6 +++---
> libavfilter/qsvvpp.h | 6 +++---
> 2 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/libavcodec/qsv_internal.h b/libavcodec/qsv_internal.h
> index 394c558883..f9bfc07c36 100644
> --- a/libavcodec/qsv_internal.h
> +++ b/libavcodec/qsv_internal.h
> @@ -36,11 +36,11 @@
>
> #define QSV_VERSION_ATLEAST(MAJOR, MINOR) \
> (MFX_VERSION_MAJOR > (MAJOR) || \
> - MFX_VERSION_MAJOR == (MAJOR) && MFX_VERSION_MINOR >= (MINOR))
> + (MFX_VERSION_MAJOR == (MAJOR) && MFX_VERSION_MINOR >= (MINOR)))
Why is this needed?
Carl Eugen
More information about the ffmpeg-devel
mailing list