From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 0D71149B3E for ; Sun, 3 Mar 2024 18:10:16 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 2190A68D3BE; Sun, 3 Mar 2024 20:09:49 +0200 (EET) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7852F68D3B3 for ; Sun, 3 Mar 2024 20:09:41 +0200 (EET) Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-1dd10a37d68so1998115ad.2 for ; Sun, 03 Mar 2024 10:09:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709489379; x=1710094179; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=V+UhSZRxtclxqf6iL+VupZfuNCWDAT3qAo+DLmb7bdc=; b=TmecU4XBUznTytj6Q5Tfg7E9O9nGPEblUt2sqYrMngULARr/kcWh4bkKTCny13lDmX TKc0IMIIUTGVkta6/s8uHtvY4NDIyHc480juzz7/IsSem5vZAMRLd6QYloelYzFQ3R51 uSNkfd5Gdz/GUAYxljwba6VuNegsdvBQ3exR/vri7VLQHxEO/M/07AAizfjE0xJdZz+7 JlSInZYgweYMYC4dyMm447gB4go1/GcgoRNOUnN5DG30mdk5+//VLGzxekWeJCaIrskQ c8IhBpD6Tkv7Leo4UURFE80Y74IWDRgppDNvbIbb79v+H1HBWsEiK66E8iDFbHeowAAu IYjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709489379; x=1710094179; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=V+UhSZRxtclxqf6iL+VupZfuNCWDAT3qAo+DLmb7bdc=; b=U8T7hhetPEWIkhnUbRApd30m7Bs8dpFi8lv8iWM9UGFdQsC44uUCqvVEM7OGAla4rG /8242jF9HL2PjaNUnpZxYg/0PVO527VPmvxlXIUM+VStqnnwvOjq9OQOynXveukNROLm rwWNTyq8MAX5oQ4BlDr2HvcumlpJaLBqjdjxQkrHe+tv/ITlecpLzvyZT/iQN9ZIUKPm 7P4wll7c0HZDRRrYKOovq7tuXBmOcQxiM4OFHe2bhGglKFj8pZJOJFmyGR7TcfHoiwXF nalGwsSgVVhj9yMBZigwzaqnjjFyxu4ev/r8KmfHUs/Wp6fAqOVo+sGsirjNdpXBryGE Wijw== X-Gm-Message-State: AOJu0YxSLvVcV3Iv9fKhW5D9krU0pD40JfKJtDiNAlWvAU+6ccOa5fcS TPbrOINK6Z1CJPoSpijwCUE11ISmslyqI6MxTN4n6IIfiYpZVeqARnEvtFkB X-Google-Smtp-Source: AGHT+IEN9Ii3q6hUiEPbj8YpOt9VpOSpb7/FIbydPA5BcU+gtg8HjxgbShQyNr2EcJGoiJG55igzEw== X-Received: by 2002:a17:902:e543:b0:1dc:b4ef:b199 with SMTP id n3-20020a170902e54300b001dcb4efb199mr8217674plf.36.1709489378947; Sun, 03 Mar 2024 10:09:38 -0800 (PST) Received: from localhost.localdomain ([190.194.169.124]) by smtp.gmail.com with ESMTPSA id k9-20020a170902c40900b001db5ea825b2sm5511316plk.123.2024.03.03.10.09.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 10:09:38 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Sun, 3 Mar 2024 15:09:22 -0300 Message-ID: <20240303180929.56930-4-jamrial@gmail.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240303180929.56930-1-jamrial@gmail.com> References: <20240303180929.56930-1-jamrial@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 4/8] avformat/mov: fix setting disposition for the first iamf stream X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: st->disposition will be overwritten with disposition later in the function. Signed-off-by: James Almer --- libavformat/mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index e07f2a1ada..7a09017020 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -946,7 +946,7 @@ static int mov_read_iacb(MOVContext *c, AVIOContext *pb, MOVAtom atom) if (!i && !j) { if (audio_element->layers[0].substream_count != 1) - st->disposition &= ~AV_DISPOSITION_DEFAULT; + disposition &= ~AV_DISPOSITION_DEFAULT; stream = st; } else stream = avformat_new_stream(c->fc, NULL); -- 2.44.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".