From 16ab64a8c06cb2398d47e0e066ed18ae389b8aae Mon Sep 17 00:00:00 2001 From: liushuai Date: Mon, 4 Nov 2024 15:38:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E5=A4=84=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8C=96=E4=BC=A0=E5=85=A5=E5=8F=82=E6=95=B0=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liushuai --- libavformat/mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 95ea0c4533..0f91524380 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -8016,7 +8016,7 @@ static int mov_read_dca3(MOVContext *c, AVIOContext *pb, MOVAtom atom) st->codecpar->format = ff_av3a_sample_format_map_table[resolution_index].sample_format; st->codecpar->bits_per_raw_sample = ff_av3a_sample_format_map_table[resolution_index].resolution; - av_channel_layout_uninit(&st->codecpar->channel_layout); + av_channel_layout_uninit(&st->codecpar->ch_layout); if (content_type != AV3A_AMBISONIC_TYPE) { st->codecpar->ch_layout.order = AV_CHANNEL_ORDER_CUSTOM; st->codecpar->ch_layout.nb_channels = (nb_channels + nb_objects);