[FFmpeg-cvslog] avformat/isom_tags: fix 'ipcm' with samplesize equal to 16

Zhao Zhili git at videolan.org
Wed Nov 3 18:53:52 EET 2021


ffmpeg | branch: master | Zhao Zhili <quinkblack at foxmail.com> | Fri Oct 29 15:49:07 2021 +0800| [82e3251dd269bdf3c45b991b12dab1ce7561d542] | committer: Paul B Mahol

avformat/isom_tags: fix 'ipcm' with samplesize equal to 16

Use PCM_S16 so the codec_id will be updated later according to
bits_per_coded_sample.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=82e3251dd269bdf3c45b991b12dab1ce7561d542
---

 libavformat/isom_tags.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/isom_tags.c b/libavformat/isom_tags.c
index d0400b18fc..62e60470a8 100644
--- a/libavformat/isom_tags.c
+++ b/libavformat/isom_tags.c
@@ -312,10 +312,10 @@ const AVCodecTag ff_codec_movaudio_tags[] = {
     { AV_CODEC_ID_PCM_S16LE,       MKTAG('s', 'o', 'w', 't') },
     { AV_CODEC_ID_PCM_S16BE,       MKTAG('l', 'p', 'c', 'm') },
     { AV_CODEC_ID_PCM_S16LE,       MKTAG('l', 'p', 'c', 'm') },
+    { AV_CODEC_ID_PCM_S16BE,       MKTAG('i', 'p', 'c', 'm') },
+    { AV_CODEC_ID_PCM_S16LE,       MKTAG('i', '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('i', 'p', 'c', 'm') },
-    { AV_CODEC_ID_PCM_S24LE,       MKTAG('i', 'p', 'c', 'm') },
     { 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-cvslog mailing list