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 ESMTPS id 914B44D273 for ; Wed, 19 Feb 2025 05:25:55 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 0A73C68C0DD; Wed, 19 Feb 2025 07:25:13 +0200 (EET) Received: from mail-yw1-f172.google.com (mail-yw1-f172.google.com [209.85.128.172]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id F084E68C0D4 for ; Wed, 19 Feb 2025 07:25:05 +0200 (EET) Received: by mail-yw1-f172.google.com with SMTP id 00721157ae682-6fb9388f9f8so16914947b3.0 for ; Tue, 18 Feb 2025 21:25:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739942704; x=1740547504; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gvOmKv0blektLLnqr+67sSl5fwlNSk/LpJm8b7hcjS8=; b=FrbtBCAydfKLDMqtJD5ag+dLedpPP5vVAmsHxJ5Vg4nena2k8dX7Ij+kCRGnb6JmRS iO0g3OYi9vIEmB175da+RyWoHe+KzLggVdbCla2nNfIgxDMJJ2t4GAy4nWUV/zPsijsB PRta+tLKGSYBuJFPnjRJ1sEr0/pOk0aoQ0l96HhnFX5kxviqzEu02TSs76ozu13Zq7Jp /szX737c+1DqQtnPTGs66dGT5RBrSNirTiblKY5U9CqcVeUkb1xWMcjTYsbQPoj03qfG PHDghF6mEKy/4Um6FW8fN0sQObauntneH39K9+51hHsCFt3qtRYU0g61Cy8ilxVKEACN GSkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739942704; x=1740547504; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gvOmKv0blektLLnqr+67sSl5fwlNSk/LpJm8b7hcjS8=; b=mpg1cG6pN/RMdHl8bLvfq4lIh5hfHEPy1yopeMMGpKQkfLbCGUUl+utalJSuUN6Tft /sabH45TGRBdS4Yu4aQII9vRzUDBSCEdFFo+bpC2lEqFkUV0BRLwJ02W0Tv9LnfRr8ov 1mOvW9ysp3FxN2jxm5i3mGrWgEJtdQbl3yIriLrpcWptJX1NTWw+a8yVk3dFDOhYvA8G C4if97TR2gn58hSNStfF68LKAxMCxUKyTul4DDidDAotZfEvEFgftEEXYf4kP6XG0MyR Z0BaYKSdHTQpFy2WuuZH7s1YM8jwyBtDZBIGHoHkYNulG2/cSGzmSTT52tVfmxkU4JB1 swAw== X-Gm-Message-State: AOJu0YwaebfyO8t159K7p2CTKhrPCmgdq2gzJQDVRvXpAonOshJDjYD5 fh6g6Nf1Uh5jOHuxnaqgq/CmLMQCEaQGUearv2NyFlrVhg5oTqDjVnSZ1w== X-Gm-Gg: ASbGncuBNdJy5LCS/OaGaWRDfHNO2WefgkX7L0vnPM7Bu7TzIhKM5wF6jgEOyegrDq8 zSWsRcRe1NMDOCqHapVNF36n8mHv1WFpuC7CBIE+8LwJv4vzP/igjNIvM+AmBYhsTfVB5P70e4s fxD9kHv2NWXiOrkmcFBtnh/OAxL5RFXpi2NT3cNtBs07w0KQgKAQqyHHkKahZfRCoGELg2WP8M8 LScW6Moo/KK8bklhWY6C+DkWJ6xDgEI+f53fU3pGJRE6kvhSOYNNEH1xbQ1B1ZDdsntuUvHEWj1 tXJx+JYuZPm8fNIiOoq+qdJHIB/Va6RnFFv7P1OsLKaNwfU8PtMI X-Google-Smtp-Source: AGHT+IFAXpWUoUaiTM0iOzRPG6t/cw95/WUHWbHpuUVswwTJ5WjP/CJTAIfWGA0anG2jdNHaymMWAw== X-Received: by 2002:a05:690c:3341:b0:6fb:3409:441c with SMTP id 00721157ae682-6fb582beed5mr164623707b3.19.1739942703726; Tue, 18 Feb 2025 21:25:03 -0800 (PST) Received: from localhost.localdomain ([2607:fb91:fe2:71a6:2854:c007:54e:fca]) by smtp.gmail.com with ESMTPSA id 00721157ae682-6fb5a15f082sm20783537b3.54.2025.02.18.21.25.01 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 18 Feb 2025 21:25:02 -0800 (PST) From: Romain Beauxis To: ffmpeg-devel@ffmpeg.org Date: Tue, 18 Feb 2025 23:24:39 -0600 Message-Id: <20250219052445.86383-4-romain.beauxis@gmail.com> X-Mailer: git-send-email 2.39.5 (Apple Git-154) In-Reply-To: <20250219052445.86383-1-romain.beauxis@gmail.com> References: <20250219052445.86383-1-romain.beauxis@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v6 3/9] libavformat/oggparsevorbis.c: Don't append new metadata. 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 Cc: Romain Beauxis 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: See before/after vorbis tests in following patch. --- libavformat/oggparsevorbis.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavformat/oggparsevorbis.c b/libavformat/oggparsevorbis.c index 9f50ab9ffc..0033d1a224 100644 --- a/libavformat/oggparsevorbis.c +++ b/libavformat/oggparsevorbis.c @@ -135,9 +135,7 @@ static int vorbis_parse_single_comment(AVFormatContext *as, AVDictionary **m, } } else if (!ogm_chapter(as, t, v)) { (*updates)++; - if (av_dict_get(*m, t, NULL, 0)) - av_dict_set(m, t, ";", AV_DICT_APPEND); - av_dict_set(m, t, v, AV_DICT_APPEND); + av_dict_set(m, t, v, 0); } end: t[tl] = '='; -- 2.39.5 (Apple Git-154) _______________________________________________ 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".