PR #20371 opened by ngaullier
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20371
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20371.patch

The counters should be incremented for each new codec.
Catch-up to be in sync with codec_id.h again.

Signed-off-by: Nicolas Gaullier <[email protected]>


>From 7252f6c0bfe7b983232c99b1a5f5924a58654d6b Mon Sep 17 00:00:00 2001
From: Nicolas Gaullier <[email protected]>
Date: Fri, 29 Aug 2025 17:29:24 +0200
Subject: [PATCH] avcodec/version: update the codec_ids

The counters should be incremented for each new codec.
Catch-up to be in sync with codec_id.h again.

Signed-off-by: Nicolas Gaullier <[email protected]>
---
 libavcodec/version.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/libavcodec/version.c b/libavcodec/version.c
index 8a0398f28f..07e8e47e44 100644
--- a/libavcodec/version.c
+++ b/libavcodec/version.c
@@ -31,13 +31,13 @@ const char av_codec_ffversion[] = "FFmpeg version " 
FFMPEG_VERSION;
 
 unsigned avcodec_version(void)
 {
-    static_assert(AV_CODEC_ID_DNXUC        ==   270 &&
+    static_assert(AV_CODEC_ID_PRORES_RAW   ==   274 &&
                   AV_CODEC_ID_PCM_SGA      == 65572 &&
-                  AV_CODEC_ID_ADPCM_XMD    == 69683 &&
+                  AV_CODEC_ID_ADPCM_SANYO  == 69685 &&
                   AV_CODEC_ID_CBD2_DPCM    == 81928 &&
-                  AV_CODEC_ID_QOA          == 86121 &&
+                  AV_CODEC_ID_G728         == 86123 &&
                   AV_CODEC_ID_IVTV_VBI     == 94234 &&
-                  AV_CODEC_ID_SMPTE_2038   == 98315,
+                  AV_CODEC_ID_SMPTE_436M_ANC == 98317,
                   "Don't insert new codec ids in the middle of a list");
     static_assert(LIBAVCODEC_VERSION_MICRO >= 100, "micro version starts at 
100");
 
-- 
2.49.1

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to