This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new 56c3d963ec avformat/movenc: add Apple APAC codec tag for mp4 muxing
56c3d963ec is described below

commit 56c3d963ec42cb7e02cd3d96ccc1ed1e5cb0e0c7
Author:     Reda DRISSI <[email protected]>
AuthorDate: Sat Aug 15 21:35:49 2026 +0200
Commit:     James Almer <[email protected]>
CommitDate: Wed Aug 26 15:34:51 2026 +0000

    avformat/movenc: add Apple APAC codec tag for mp4 muxing
    
    The MP4 muxer rejects streams with AV_CODEC_ID_APPLE_APAC because the
    codec_mp4_tags[] table has no entry for it, while the MOV muxer already
    accepts the codec. Add the apac sample entry tag so APAC streams can be
    copied into MP4 with -c:a copy.
    
    Signed-off-by: Reda DRISSI <[email protected]>
---
 libavformat/movenc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 03599c1653..ce6776e4d3 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -9346,6 +9346,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_APPLE_APAC,      MKTAG('a', 'p', 'a', 'c') },
     { 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') },

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to