[FFmpeg-devel] [PATCH] isom: add ni24 to pcm_s24le

compn tempn at mi.rr.com
Mon Aug 18 22:42:15 CEST 2014


patch requested by ubitux.

found in code dump from kierank:

+    { CODEC_ID_PCM_S24LE,       MKTAG('n', 'i', '2', '4') }, /* BBC
  typo fix for using ni24 instead of in24 (#3051) */ //GARYH added

(sorry for inline)

-compn


diff --git a/libavformat/isom.c b/libavformat/isom.c
index d768c32..613d5ec 100644
--- a/libavformat/isom.c
+++ b/libavformat/isom.c
@@ -292,6 +292,7 @@ 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('n', 'i', '2', '4') },
     { 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') },


More information about the ffmpeg-devel mailing list