From f9bf45b8fdf2239fde7081e7bd42f653f54de9fc Mon Sep 17 00:00:00 2001 From: Nicolas Gaullier Date: Tue, 13 Jan 2026 18:36:19 +0100 Subject: [PATCH] avformat/isom_tags: add specific fourccs for in24/in32 LE Add support for decoding 42ni and 23ni in mov/mp4. Note that in24/in32 can be either LE or BE thanks to enda atom, so this patch leaves the muxer unchanged. Fixes #21445. Signed-off-by: Nicolas Gaullier --- libavformat/isom_tags.c | 2 ++ libavformat/version.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/isom_tags.c b/libavformat/isom_tags.c index 151c42e9e6..1cd655b06c 100644 --- a/libavformat/isom_tags.c +++ b/libavformat/isom_tags.c @@ -348,8 +348,10 @@ const AVCodecTag ff_codec_movaudio_tags[] = { { AV_CODEC_ID_PCM_S16LE, MKTAG('l', 'p', 'c', 'm') }, { AV_CODEC_ID_PCM_S24BE, MKTAG('i', 'n', '2', '4') }, { AV_CODEC_ID_PCM_S24LE, MKTAG('i', 'n', '2', '4') }, + { AV_CODEC_ID_PCM_S24LE, MKTAG('4', '2', 'n', 'i') }, { AV_CODEC_ID_PCM_S32BE, MKTAG('i', 'n', '3', '2') }, { AV_CODEC_ID_PCM_S32LE, MKTAG('i', 'n', '3', '2') }, + { AV_CODEC_ID_PCM_S32LE, MKTAG('2', '3', 'n', 'i') }, { AV_CODEC_ID_PCM_S8, MKTAG('s', 'o', 'w', 't') }, { AV_CODEC_ID_PCM_U8, MKTAG('r', 'a', 'w', ' ') }, { AV_CODEC_ID_PCM_U8, MKTAG('N', 'O', 'N', 'E') }, diff --git a/libavformat/version.h b/libavformat/version.h index 1b079ebce8..cf0489562e 100644 --- a/libavformat/version.h +++ b/libavformat/version.h @@ -32,7 +32,7 @@ #include "version_major.h" #define LIBAVFORMAT_VERSION_MINOR 9 -#define LIBAVFORMAT_VERSION_MICRO 100 +#define LIBAVFORMAT_VERSION_MICRO 101 #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \ LIBAVFORMAT_VERSION_MINOR, \