avcodec: postpone removal of deprecated libopenh264 wrapper options

They were deprecated only a year ago

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2021-04-19 09:57:46 -03:00
parent cb9dbc60db
commit fe95a37144

View File

@ -52,10 +52,10 @@
*/ */
#ifndef FF_API_OPENH264_SLICE_MODE #ifndef FF_API_OPENH264_SLICE_MODE
#define FF_API_OPENH264_SLICE_MODE (LIBAVCODEC_VERSION_MAJOR < 59) #define FF_API_OPENH264_SLICE_MODE (LIBAVCODEC_VERSION_MAJOR < 60)
#endif #endif
#ifndef FF_API_OPENH264_CABAC #ifndef FF_API_OPENH264_CABAC
#define FF_API_OPENH264_CABAC (LIBAVCODEC_VERSION_MAJOR < 59) #define FF_API_OPENH264_CABAC (LIBAVCODEC_VERSION_MAJOR < 60)
#endif #endif
#ifndef FF_API_UNUSED_CODEC_CAPS #ifndef FF_API_UNUSED_CODEC_CAPS
#define FF_API_UNUSED_CODEC_CAPS (LIBAVCODEC_VERSION_MAJOR < 60) #define FF_API_UNUSED_CODEC_CAPS (LIBAVCODEC_VERSION_MAJOR < 60)