[FFmpeg-devel] [PATCH] avformat/isom: add ni24 typo/alias for in24

Clément Bœsch u at pkh.me
Mon Aug 18 23:01:39 CEST 2014


This is adapted from Elemental/libavformat.isom.c.patch by a certain
GARYH. The original patch only includes the LE version.

See also
http://lists.apple.com/archives/quicktime-users/2009/Oct/msg00048.html
---
 libavformat/isom.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/isom.c b/libavformat/isom.c
index d768c32..8daff62 100644
--- a/libavformat/isom.c
+++ b/libavformat/isom.c
@@ -292,6 +292,8 @@ 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_S24BE,       MKTAG('n', 'i', '2', '4') }, /* BBC typo */
+    { AV_CODEC_ID_PCM_S24LE,       MKTAG('n', 'i', '2', '4') }, /* BBC typo */
     { AV_CODEC_ID_PCM_S32BE,       MKTAG('i', 'n', '3', '2') },
     { AV_CODEC_ID_PCM_S32LE,       MKTAG('i', 'n', '3', '2') },
     { AV_CODEC_ID_PCM_S8,          MKTAG('s', 'o', 'w', 't') },
-- 
2.0.4



More information about the ffmpeg-devel mailing list