From patchwork Fri Nov 25 01:30:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marvin Scholz X-Patchwork-Id: 39430 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a21:999a:b0:a4:2148:650a with SMTP id ve26csp4949689pzb; Thu, 24 Nov 2022 17:34:09 -0800 (PST) X-Google-Smtp-Source: AA0mqf4PABzab3z+XOOqPfaw50s1v6XVFICSSO3dvuQ6zdKVP/X69IEOahHOeAMii7pEPy+leM17 X-Received: by 2002:a05:6402:444a:b0:459:401:c23e with SMTP id o10-20020a056402444a00b004590401c23emr17637561edb.23.1669340049351; Thu, 24 Nov 2022 17:34:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669340049; cv=none; d=google.com; s=arc-20160816; b=tP36+iunDhl5Hto8sGft1fsAkUrtZ2BWKUPiA+V69T1m+EOngwvUObYycuq6MSYwLO SOn8NR/Lig6KLp+c4pk/FR2GUb9z4ZvrqFwRaksxJmPqGoPx36BdSVIKheRHoXu7jN+Y 2nO2nt9YlwXdjcEu3LqeA6U6rv+ZaXVs7IUHA0Aek4LVPN/gt/VpwCrh6M7X9GBh4J1C FAn+c+mxU+czcLM5aijOlaHAbm6skoaC6bGe44pg1Q7gL5GAn7W9bpF8Gb4u4/r+GM4l l9wfuvAODJ/6YqFzMWhnS2r58pO4QBbTKUuU+iMLVoVK8gV0SIxpm9bU85JW/naU6A6k P9pQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:delivered-to; bh=DZG9lfKMXmAVEAVsXZWKOaeT/6CtxmUFRlZVARzzX9U=; b=Q+nUK3KJRNf4m1qzoC5isRC2MNX7KM4PF/n6HBatO3yD2USj/GP/tx3Tn/3VqHUzx/ iW/fZEK08bwe7Dwz/2R9gPUJP9h/6rz8sqPdpS5Gx6SIIvU/Xz4drtxNyHSgN2X7PpPr 0Nw/6w243jtNUtrHIOlUPpiNVtFh3FpxN9KGBd222w9tkZ1TeoSGuyBowLGs5mxi/15t BOlyqyGcNJ/VSYyWk65mhtrUsh6vFQ2X/h+rKYlB1HM40EWC5WVq4ySGNaWol3b0CL5U aLEKgngDZjZjAzS37YCTPhrwn/2Yu+TQzKxByrpTY1QeMRg4jnzb7TnHco9bw27hYSbb GGcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=bxPp8jfl; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id xc9-20020a170907074900b0079d5da30399si1970534ejb.427.2022.11.24.17.34.08; Thu, 24 Nov 2022 17:34:09 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=bxPp8jfl; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 5BC1C68BC72; Fri, 25 Nov 2022 03:31:24 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D4CC968BBD9 for ; Fri, 25 Nov 2022 03:31:09 +0200 (EET) Received: by mail-ej1-f43.google.com with SMTP id n20so7361443ejh.0 for ; Thu, 24 Nov 2022 17:31:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=EaUBJ+VPjTUNdhAdkRSHZgEjigw++QPR0Do57qj+Hkw=; b=bxPp8jfljYCrB0Jq1OIdRwWBJdAgQro3XturtGV/VYGH96RmE7/vk2YLScIrdiDbDF W44JShTstbIjJj0XWqaPmGV/qz1h1LZ/GM7pj5DYnxB9MLtAS/QbMZmHYd9qD0pMtp/r RqoUY2j82CNJfPMBAFOsQdxp8bzAtDWHmVwk592nP/Rui2YAq5o79MgeqM5egUQH9lHe vjQKFxD8y3Cm4Ex8dshxqGzNnd+oI7E2ZlD9XFhSkRjclBsIEjX913aJLClZ2v0GT/TY gvTCGf7eHfOdqsVYrZUSRXwQBZWBKBh5MLL3swVoMagRZ0MXHsjw5HZNLEOWNMw5PztL plzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=EaUBJ+VPjTUNdhAdkRSHZgEjigw++QPR0Do57qj+Hkw=; b=shbWiAJ8OGR5X3/A6eP1wwg8H+eIe0lU0KGILGYPb/5ES87PUB+1/C3teA+9CRueWo xWpNsqZXRfiYonEUjzEWnfJRTruKD5LbhYnuHXTJ3N7lSbET3S3fGxgGPK7FZMO0hLZD iHukSteYg0z0yj5qA/UMWbpYE2ivqd3E/8fBXYp2QLtS0TTSr3IOfBLzehc5Swdt5sR7 SlihW26lSQwakFlgKzt2Vkfks5TxPkCfo7ahnvfdxO/Y12VKgI3LU8ZnVB89JWEudrQc fVe35Vb2H15G500zVwt4dminYPNC05lUbj/nrbnXF/Yhp1vfLUGbWVSud6drtuM6tjrd fddw== X-Gm-Message-State: ANoB5pk45QNZBniZV8taPRpHaC80Ii7QeQAiY3zuQWMf/mGiaEMKzxMQ GLidwe3uv2tZHAwIwbkFsqpr6we27Wo= X-Received: by 2002:a17:906:8a6d:b0:7ad:d18f:c2d6 with SMTP id hy13-20020a1709068a6d00b007add18fc2d6mr30484108ejc.271.1669339869324; Thu, 24 Nov 2022 17:31:09 -0800 (PST) Received: from MBP-von-Marvin.citadel.scalie.me (84-112-104-25.cable.dynamic.surfer.at. [84.112.104.25]) by smtp.gmail.com with ESMTPSA id jo9-20020a170906f6c900b0078b1ff41f05sm1011498ejb.43.2022.11.24.17.31.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Nov 2022 17:31:08 -0800 (PST) From: Marvin Scholz To: ffmpeg-devel@ffmpeg.org Date: Fri, 25 Nov 2022 02:30:37 +0100 Message-Id: <20221125013046.40904-23-epirat07@gmail.com> X-Mailer: git-send-email 2.37.0 (Apple Git-136) In-Reply-To: <20221125013046.40904-1-epirat07@gmail.com> References: <20221125013046.40904-1-epirat07@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 22/31] avformat/dump: use av_dict_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 Cc: Marvin Scholz Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: JhJd+I4R5qmJ --- libavformat/dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dump.c b/libavformat/dump.c index 225f80ac22..d31e4c2ec6 100644 --- a/libavformat/dump.c +++ b/libavformat/dump.c @@ -140,7 +140,7 @@ static void dump_metadata(void *ctx, const AVDictionary *m, const char *indent) const AVDictionaryEntry *tag = NULL; av_log(ctx, AV_LOG_INFO, "%sMetadata:\n", indent); - while ((tag = av_dict_get(m, "", tag, AV_DICT_IGNORE_SUFFIX))) + while ((tag = av_dict_iterate(m, tag))) if (strcmp("language", tag->key)) { const char *p = tag->value; av_log(ctx, AV_LOG_INFO,