[FFmpeg-devel] [PATCH] qsv: fix the dangerous macro definitions

Li, Zhong zhong.li at intel.com
Thu Mar 28 14:24:51 EET 2019


> From: ffmpeg-devel [mailto:ffmpeg-devel-bounces at ffmpeg.org] On Behalf
> Of Carl Eugen Hoyos
> Sent: Thursday, March 28, 2019 8:15 PM
> To: FFmpeg development discussions and patches
> <ffmpeg-devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH] qsv: fix the dangerous macro
> definitions
> 
> 2019-03-28 10:09 GMT+01:00, Li, Zhong <zhong.li at intel.com>:
> 
> > But I see another case now:
> > MFX_VERSION_MAJOR > (MAJOR) || MFX_VERSION_MAJOR == (MAJOR)
> &&
> > MFX_VERSION_MINOR >= (MINOR) Actually it is equal to:
> > (MFX_VERSION_MAJOR > (MAJOR) || MFX_VERSION_MAJOR == (MAJOR))
> &&
> > MFX_VERSION_MINOR >= (MINOR)
> 
> No?
> 
> Carl Eugen

After double-checked, you are right. It is not needed.


More information about the ffmpeg-devel mailing list