summaryrefslogtreecommitdiff
path: root/libavformat/movenc.c
diff options
context:
space:
mode:
authorLeo Izen <leo.izen@gmail.com>2020-11-20 11:38:31 -0500
committerJan Ekström <jeebjp@gmail.com>2020-11-22 14:28:31 +0200
commitf5dcaf2daa34d9cbe6e6ad13ea2c8a7ee43d0064 (patch)
treec6da815ee4cb784d2c1b4a6c66f1bad41f393d80 /libavformat/movenc.c
parent0066bf4d1a552744947d4534a140ef01607708a6 (diff)
avformat/movenc: allow Apple Lossless inside mp4
The 'alac' identifier has been registered to ISO and thus towards ISOBMFF at the MP4 registration authority. The existing non-MOV mux mode matches the official ALAC-in-MP4 specification.
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r--libavformat/movenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index fea8a86192..18fa3f9b5e 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -7128,6 +7128,7 @@ static const AVCodecTag codec_mp4_tags[] = {
{ AV_CODEC_ID_VP9, MKTAG('v', 'p', '0', '9') },
{ AV_CODEC_ID_AV1, MKTAG('a', 'v', '0', '1') },
{ AV_CODEC_ID_AAC, MKTAG('m', 'p', '4', 'a') },
+ { AV_CODEC_ID_ALAC, MKTAG('a', 'l', 'a', 'c') },
{ AV_CODEC_ID_MP4ALS, MKTAG('m', 'p', '4', 'a') },
{ AV_CODEC_ID_MP3, MKTAG('m', 'p', '4', 'a') },
{ AV_CODEC_ID_MP2, MKTAG('m', 'p', '4', 'a') },