Commit 92e5de8bb9 for ffmpeg
commit 92e5de8bb9a7e08eb78a819fc2f702868d6923be
Author: Simon Capriotti <sicapr98@gmail.com>
Date: Tue Nov 3 19:02:42 2026 +0100
avcodec: add PCM PAMF codec ID and descriptor
Signed-off-by: Simon Capriotti <sicapr98@gmail.com>
diff --git a/doc/APIchanges b/doc/APIchanges
index 36f95c8df2..501506d25f 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-11-xx - xxxxxxxxxx - lavc 63.27.100 - codec_id.h
+ Add AV_CODEC_ID_PCM_PAMF.
+
2026-11-xx - xxxxxxxxxx - lavc 63.26.100 - defs.h
Add AV_PROFILE_CAVS_JIZHUN and AV_PROFILE_CAVS_BROADCASTING.
diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
index fab1cd01b6..dd63c2194d 100644
--- a/libavcodec/codec_desc.c
+++ b/libavcodec/codec_desc.c
@@ -2278,6 +2278,13 @@ static const AVCodecDescriptor codec_descriptors[] = {
.long_name = NULL_IF_CONFIG_SMALL("PCM signed 16|20|24-bit big-endian for DVD-Audio media"),
.props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
},
+ {
+ .id = AV_CODEC_ID_PCM_PAMF,
+ .type = AVMEDIA_TYPE_AUDIO,
+ .name = "pcm_pamf",
+ .long_name = NULL_IF_CONFIG_SMALL("PCM signed 16|20|24-bit big-endian for PAMF streams"),
+ .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
+ },
/* various ADPCM codecs */
{
diff --git a/libavcodec/codec_id.h b/libavcodec/codec_id.h
index a4e8e30dfd..8c78bbce37 100644
--- a/libavcodec/codec_id.h
+++ b/libavcodec/codec_id.h
@@ -368,6 +368,7 @@ enum AVCodecID {
AV_CODEC_ID_PCM_VIDC,
AV_CODEC_ID_PCM_SGA,
AV_CODEC_ID_PCM_DVDA,
+ AV_CODEC_ID_PCM_PAMF,
/* various ADPCM codecs */
AV_CODEC_ID_ADPCM_IMA_QT = 0x11000,
diff --git a/libavcodec/version.h b/libavcodec/version.h
index e99bd317e3..735c8b813c 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -29,8 +29,8 @@
#include "version_major.h"
-#define LIBAVCODEC_VERSION_MINOR 26
-#define LIBAVCODEC_VERSION_MICRO 101
+#define LIBAVCODEC_VERSION_MINOR 27
+#define LIBAVCODEC_VERSION_MICRO 100
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \