[FFmpeg-devel] [PATCH 86/87] avcodec: postpone removal of deprecated libopenh264 wrapper options

James Almer jamrial at gmail.com
Mon Apr 19 17:18:05 EEST 2021


They were deprecated only a year ago

Signed-off-by: James Almer <jamrial at gmail.com>
---
 libavcodec/version.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/version.h b/libavcodec/version.h
index df2801401f..414cfee1cd 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -52,10 +52,10 @@
  */
 
 #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
 #ifndef FF_API_OPENH264_CABAC
-#define FF_API_OPENH264_CABAC      (LIBAVCODEC_VERSION_MAJOR < 59)
+#define FF_API_OPENH264_CABAC      (LIBAVCODEC_VERSION_MAJOR < 60)
 #endif
 #ifndef FF_API_UNUSED_CODEC_CAPS
 #define FF_API_UNUSED_CODEC_CAPS   (LIBAVCODEC_VERSION_MAJOR < 60)
-- 
2.31.1



More information about the ffmpeg-devel mailing list