aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhao Zhili <quinkblack@foxmail.com>2021-10-29 15:49:07 +0800
committerPaul B Mahol <onemda@gmail.com>2021-11-03 17:45:02 +0100
commit82e3251dd269bdf3c45b991b12dab1ce7561d542 (patch)
tree1b20a9c21c4aa62443e569d7b534b241557df9c0
parentf05559554c41306698aa98618b140f06775e4bcb (diff)
downloadffmpeg-82e3251dd269bdf3c45b991b12dab1ce7561d542.tar.gz
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.
-rw-r--r--libavformat/isom_tags.c4
1 files 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') },