[FFmpeg-devel] [PATCH 9/9] avcodec/nvenc: finalize SDK 13.0 support

Timo Rothenpieler timo at rothenpieler.org
Thu Jan 30 21:40:46 EET 2025


---
 libavcodec/nvenc.c   | 4 +++-
 libavcodec/version.h | 4 ++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index a5c507150c..eb813ba32e 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -254,8 +254,10 @@ static void nvenc_map_preset(NvencContext *ctx)
 
 static void nvenc_print_driver_requirement(AVCodecContext *avctx, int level)
 {
-#if NVENCAPI_CHECK_VERSION(12, 3)
+#if NVENCAPI_CHECK_VERSION(13, 1)
     const char *minver = "(unknown)";
+#elif NVENCAPI_CHECK_VERSION(13, 0)
+    const char *minver = "570.0";
 #elif NVENCAPI_CHECK_VERSION(12, 2)
 # if defined(_WIN32) || defined(__CYGWIN__)
     const char *minver = "551.76";
diff --git a/libavcodec/version.h b/libavcodec/version.h
index 1030154c0e..56dbb9238d 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -29,8 +29,8 @@
 
 #include "version_major.h"
 
-#define LIBAVCODEC_VERSION_MINOR  31
-#define LIBAVCODEC_VERSION_MICRO 101
+#define LIBAVCODEC_VERSION_MINOR  32
+#define LIBAVCODEC_VERSION_MICRO 100
 
 #define LIBAVCODEC_VERSION_INT  AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
                                                LIBAVCODEC_VERSION_MINOR, \
-- 
2.45.2



More information about the ffmpeg-devel mailing list