From f5dcaf2daa34d9cbe6e6ad13ea2c8a7ee43d0064 Mon Sep 17 00:00:00 2001 From: Leo Izen Date: Fri, 20 Nov 2020 11:38:31 -0500 Subject: 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. --- libavformat/movenc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/movenc.c') 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') }, -- cgit v1.2.3