RFC: Consistently check FFmpeg versions
Currently, after !975 (merged), there are basically two ways that FFmpeg versions are checked:
- Directly comparing with
LIBAVCODEC_VERSION_INT
(or respective variant for the other libraries)#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 57, 17, 100 )
- Using the version check helper macros
#if LIBAVCODEC_VERSION_CHECK( 57, 17, 100 )
We should decided for one of these and consistently use it, I have no preference whatsoever which way to use, so some input what people prefer would be appreciated.