Message ID | 20221125013046.40904-17-epirat07@gmail.com |
---|---|
State | Accepted |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a21:999a:b0:a4:2148:650a with SMTP id ve26csp4949300pzb; Thu, 24 Nov 2022 17:33:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf7BMNIJOV+7i3JxaMmWj/xW7jQNmzI74JFde/7SvIdpRejpK0QFzm7JTvSAtRtbgFMlTvzK X-Received: by 2002:a17:906:f8a:b0:7ad:9f03:aa1f with SMTP id q10-20020a1709060f8a00b007ad9f03aa1fmr30181915ejj.632.1669340002431; Thu, 24 Nov 2022 17:33:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669340002; cv=none; d=google.com; s=arc-20160816; b=cts/tmBJDesv8es9OkjQJPIDFeQRx7jc43dWdWkNhMhPMordhkcenppKzkqQ1/YPR0 aHVvRSBTwfaBGeEPoHC4rQHvyMRTtvX0PHKw/JobWrsARkmYdMgPInp0632zL2+30v3Q EaI3hz28IWBLxoMsqIViVH6c1AZvvjr509F9SpC4Ih1fA3rl+JkCwKf5cNWEogMFCiOT z5Kh9SGNtEzBFlPcu6S3iC3PWzuxyEJ/Wfzosve/syYpC/bx6Jw0y5WNUjgF4zIpolps zZlvMfFV8G7mnC4QjW3QMrJv3O70BcGzC3JUIIacYYyTuQ44ccDm4i9kVGoCzMWkUw4i BbCA== 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=S4AJ2liv8qYju7RKBBSdCqr+JJrKIx0P3WYylmmAAs8=; b=IujVMgu4In6dnlISM1sMwV9WORfrPTZjXtCEfyk6mGhNrFXLwNzWDB6HWy3oJSQwMN uy4lJny7NGdXxnuGSvEjDVdydAYrZUw8l8TQu4LKXyvKJuzH1jxl6dDhKLS9mOIeECZq BdJFSJ9dF0l6VL28v8z6Op4hxJX3/RaEHorn4yqefg6QEbBvZlLxfF6+Ufn+ZMgiTaRx kS43Bi0lsnYhQiEOz8Fvi21ccDXpd7v1SN+B6BkJ1S6GWP9r3pKgtFujRX6L3Jk8afuT PYTldm6b06b/92yf9wQt7UAHgdwUn6yfRTtuPe0inVR3T6bQ/+1u3EVydfVuzpmi3U3s /P6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=o8m+xOkl; 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: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id z10-20020a50eb4a000000b004676b9092e0si2043159edp.408.2022.11.24.17.33.21; Thu, 24 Nov 2022 17:33:22 -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=o8m+xOkl; 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 E1CC168BC2D; Fri, 25 Nov 2022 03:31:16 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id DF28868BB78 for <ffmpeg-devel@ffmpeg.org>; Fri, 25 Nov 2022 03:31:04 +0200 (EET) Received: by mail-ed1-f44.google.com with SMTP id l11so4510132edb.4 for <ffmpeg-devel@ffmpeg.org>; Thu, 24 Nov 2022 17:31:04 -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=9vKV3+HvVl/SXzb249JoWcf5XE3eJrfVPLNFa5fLbHk=; b=o8m+xOklf9reoe/CR//5OencuN05ieWUZs696rQoevs0cYGJ+iTFUwFUs+6mc25HJV OMCSFFaRN0MonIFuwudaOBSA3ajRNsm31x3s+NnMoxko0trQETtpnGlSlYNk8kHHkctk w4ndtY/3UygKXZIkb6YcURT1+PRLueNPSfSLEYrbVW0ZkGGssV1QhGIig4CW1fsfTV2c M7I0H99vCbVmskaJfqA+t9WvNouGURI+Z3lwg3NGJRypQUOUkEpAT5zhJ6VZOA58XTMQ rOYKcJn5zl2V8mvdspcoZcC0CfoGpfZFvqW9U+G0cPR2yQ+XoeHqvDgbgnL1LmAbOCsr fzMA== 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=9vKV3+HvVl/SXzb249JoWcf5XE3eJrfVPLNFa5fLbHk=; b=SJcadGvJZWIYu0gBLxBLwbmOoc+b+x/+D3cvjctfAylVEHiQcRA0ycZT71bobHCwPe bxp7A03q8uoax3Y3jGcL16SiCbq46RTpcMsOA3G/uLUjZdUTvvLQ7jOPp1cZ4N3Mtb63 RhiVsUGxIrTio4zeeuEaYTmRleVZ/6WYQN5G7JSZTGETLW1HSyxULZNURP0f+yGetwue 0PonWIwi8Rj/AgJWozytSkYHDnErXI7NKJLGTHc7z8cKZbUdtO1iQBZQggyJTg+wWGDc cJlwFIiPFcKRRqPu89HiEoaGZgvYZT0e8sJa8O2Ngt68WG0IG+w4w+I/TsH7c2P+4wKM Y4AA== X-Gm-Message-State: ANoB5pkgP/Yn7lgIuw7bSN8dIwbUp+8aGGOfKQgupZrTtkTJC9MSFv0A feM1fA9c6LJ4nPhQ7/8a9+2We0T9ROI= X-Received: by 2002:a50:fd0d:0:b0:469:c73c:e29a with SMTP id i13-20020a50fd0d000000b00469c73ce29amr17806749eds.423.1669339864064; Thu, 24 Nov 2022 17:31:04 -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.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Nov 2022 17:31:03 -0800 (PST) From: Marvin Scholz <epirat07@gmail.com> To: ffmpeg-devel@ffmpeg.org Date: Fri, 25 Nov 2022 02:30:31 +0100 Message-Id: <20221125013046.40904-17-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 16/31] doc/examples/metadata: 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 <ffmpeg-devel.ffmpeg.org> List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe> List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel> List-Post: <mailto:ffmpeg-devel@ffmpeg.org> List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help> List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe> Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Cc: Marvin Scholz <epirat07@gmail.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> X-TUID: vSuF7eKRaW8F |
Series |
Use av_dict_iterate where approproate
|
expand
|
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/doc/examples/metadata.c b/doc/examples/metadata.c index 7c44009a24..734b12df16 100644 --- a/doc/examples/metadata.c +++ b/doc/examples/metadata.c @@ -52,7 +52,7 @@ int main (int argc, char **argv) return ret; } - while ((tag = av_dict_get(fmt_ctx->metadata, "", tag, AV_DICT_IGNORE_SUFFIX))) + while ((tag = av_dict_iterate(fmt_ctx->metadata, tag))) printf("%s=%s\n", tag->key, tag->value); avformat_close_input(&fmt_ctx);