This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 9e71ea2d601d504204f43e88a9c64fd3c9f2dd2a Author: Tim Walker <[email protected]> AuthorDate: Tue May 19 15:16:04 2026 +0200 Commit: James Almer <[email protected]> CommitDate: Wed May 20 12:31:15 2026 +0000 avformat/movenc: write stsd v2 atom when nb_channels > 2 Required by the QuickTime File Format specification. --- libavformat/movenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 95b1e3a049..6d551bb930 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -1379,7 +1379,8 @@ static int mov_write_audio_tag(AVFormatContext *s, AVIOContext *pb, MOVMuxContex int ret = 0; if (track->mode == MODE_MOV) { - if (track->par->sample_rate > UINT16_MAX || !track->par->ch_layout.nb_channels) { + if (track->par->sample_rate > UINT16_MAX || !track->par->ch_layout.nb_channels || + track->par->ch_layout.nb_channels > 2) { if (mov_get_lpcm_flags(track->par->codec_id)) tag = AV_RL32("lpcm"); version = 2; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
