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 0A88047703 for ; Wed, 20 Dec 2023 03:29:04 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 906EE68D02B; Wed, 20 Dec 2023 05:29:01 +0200 (EET) Received: from mail-io1-f50.google.com (mail-io1-f50.google.com [209.85.166.50]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0482C68CD39 for ; Wed, 20 Dec 2023 05:28:54 +0200 (EET) Received: by mail-io1-f50.google.com with SMTP id ca18e2360f4ac-7b79a23a075so260970139f.2 for ; Tue, 19 Dec 2023 19:28:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703042932; x=1703647732; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=1G7ja2fS9rCd+Jq+ej0wI7JYZHUWxAUxQfHiELjVdJs=; b=N7xiIvulB7wfrify3lh1faZ90kUlkWksFES1wJysGHQoEpSg1gTh2EqH1A8gCUEKfu QLqgLVzSsXS6MPYBQezwEZ9RJsauNA8JLdkobFW4S4DjJeAdWSnuZzFb+0v+QbA5qtAc K/WjmrdpSBawaXisQzcua20LXL65zyS/XbvbbFL/QdbolJby5fnYdvafcNaN8A/8oB13 UMbl/hEEGDgPsRJmBEwjE1DXWt7Xdvm7dFxUFID5oCuGA9fudjmgE51iQFhAZOe+94Pg MJV50jcXn2OyTZG/b1UzV6zUjYePRwn2NDikw7HKFmRuSYQu/FnIfD5DxqYPNHugen5d 4Iew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703042932; x=1703647732; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1G7ja2fS9rCd+Jq+ej0wI7JYZHUWxAUxQfHiELjVdJs=; b=WlLIpUHFVaXu0mBOv5AMvj/yArB9XrrbthcjohMk6vT02F4/nBDEFtryqiM58rf/Uj SmyeyBX98IMfEcJ24TqgoIhmgzBEzyvnWfG6/eRuybtlR44FAS/ftVhHP6Un5/YK0m61 PrEu1PJ2Rr4TivSudjpdWoexiSCkL36TvxzrA7E1rVWCIyIu3byNJbG66PSl0EHYaG5R POHprnBQOAIPZxMVA9IYLJTyiNpZ5tiGHVohwpoBfq1KhpjAGljs/iu0gfqXUkrq+fqe oPLuY/CX6Z84DAdvNrFaKdo9AkVMKIIolsKNCrHy3i30q3q2NXfW6QbZnCKuOdzwRsUa a1BQ== X-Gm-Message-State: AOJu0YwDutSXCV463BkozYavqHN56ftGqlTl5Y6x+Ci9uvY3buPG+VLW txYSZbAre0qJF3I3PduD169EeaKLIuE= X-Google-Smtp-Source: AGHT+IGqX4LLqG2UOM90vzl+vLpSkl6fzv6J5rV8S8R7o94SeWANgwZPwbrDwsYQsYKgf2W6K467UQ== X-Received: by 2002:a05:6602:4285:b0:7b7:aab8:1e4b with SMTP id cd5-20020a056602428500b007b7aab81e4bmr10827420iob.24.1703042932493; Tue, 19 Dec 2023 19:28:52 -0800 (PST) Received: from localhost.localdomain (host197.190-225-105.telecom.net.ar. [190.225.105.197]) by smtp.gmail.com with ESMTPSA id w2-20020a1709029a8200b001cfca7b8ee7sm21801758plp.99.2023.12.19.19.28.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 19:28:51 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Wed, 20 Dec 2023 00:28:33 -0300 Message-ID: <20231220032833.840-1-jamrial@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] avformat/options: skip the none type group in stream_group_child_iterate() 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: Otherwise the function will not iterate through valid group types. Signed-off-by: James Almer --- libavformat/options.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/options.c b/libavformat/options.c index bf6113ca95..73e220bb7d 100644 --- a/libavformat/options.c +++ b/libavformat/options.c @@ -349,6 +349,9 @@ static const AVClass *stream_group_child_iterate(void **opaque) const AVClass *ret = NULL; switch(i) { + case AV_STREAM_GROUP_PARAMS_NONE: + i++; + // fall-through case AV_STREAM_GROUP_PARAMS_IAMF_AUDIO_ELEMENT: ret = av_iamf_audio_element_get_class(); break; -- 2.43.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".