From 7c4e41b54cd9fba6f73ee4500a459430ed917722 Mon Sep 17 00:00:00 2001 From: Vignesh Venkat Date: Wed, 29 Apr 2026 17:02:43 -0700 Subject: [PATCH] avcodec: Add itut-t35 metadata as a codec type Signed-off-by: Vignesh Venkat --- doc/APIchanges | 3 +++ libavcodec/codec_desc.c | 6 ++++++ libavcodec/codec_id.h | 1 + libavcodec/version.h | 2 +- 4 files changed, 11 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index 4582e369e2..bba8a650ee 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -2,6 +2,9 @@ The last version increases of all libraries were on 2026-06-23. API changes, most recent first: +2026-07-09 - xxxxxxxxxxx - lavc 63.6.100 - codec_id.h + Add AV_CODEC_ID_ITUT_T35. + 2026-07-06 - xxxxxxxxxxx - lavc 63.4.100 - bsf.h Added graph based experimental bitstream filter API. Add AVBitStreamFilterContext, AVBitStreamFilterGraph. diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c index 81c095bea7..299a469ce4 100644 --- a/libavcodec/codec_desc.c +++ b/libavcodec/codec_desc.c @@ -3839,6 +3839,12 @@ static const AVCodecDescriptor codec_descriptors[] = { .name = "smpte_436m_anc", .long_name = NULL_IF_CONFIG_SMALL("MXF SMPTE-436M ANC"), }, + { + .id = AV_CODEC_ID_ITUT_T35, + .type = AVMEDIA_TYPE_DATA, + .name = "itut_t35", + .long_name = NULL_IF_CONFIG_SMALL("ITU-T T.35 metadata"), + }, { .id = AV_CODEC_ID_MPEG2TS, .type = AVMEDIA_TYPE_DATA, diff --git a/libavcodec/codec_id.h b/libavcodec/codec_id.h index 668a068efe..ff2c21526c 100644 --- a/libavcodec/codec_id.h +++ b/libavcodec/codec_id.h @@ -607,6 +607,7 @@ enum AVCodecID { AV_CODEC_ID_SMPTE_2038, AV_CODEC_ID_LCEVC, AV_CODEC_ID_SMPTE_436M_ANC, + AV_CODEC_ID_ITUT_T35, AV_CODEC_ID_PROBE = 0x19000, ///< codec_id is not known (like AV_CODEC_ID_NONE) but lavf should attempt to identify it diff --git a/libavcodec/version.h b/libavcodec/version.h index 7aa95fc3f1..da54f87887 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -29,7 +29,7 @@ #include "version_major.h" -#define LIBAVCODEC_VERSION_MINOR 5 +#define LIBAVCODEC_VERSION_MINOR 6 #define LIBAVCODEC_VERSION_MICRO 100 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \