Message ID | 20221125013046.40904-9-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 ve26csp4949106pzb; Thu, 24 Nov 2022 17:32:59 -0800 (PST) X-Google-Smtp-Source: AA0mqf67yTV4YkBFW/jsq8pDoWO/5r/v3LjO1zMAY6jfhi3rLDj8DgLfvnCp3MnnQS7jty7TPDOQ X-Received: by 2002:a17:906:86c9:b0:78d:9324:6f18 with SMTP id j9-20020a17090686c900b0078d93246f18mr30401606ejy.664.1669339978892; Thu, 24 Nov 2022 17:32:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669339978; cv=none; d=google.com; s=arc-20160816; b=MvStPLvIC/EHm1be6u9qkpninmamJhs6pFdXb7SGjM4SY2JhAAlp+9q3bs8yc9y+tQ vPjf+Xh9gxvY3Cn3PuvpOSJYhxqmDr6o3H9bcVAIprOU/BX7GtYUpdHqOYMoR/ycitmd drj2GlWU7Ku5H6MejokxLA+w0KJcEaGtLgOK2jimFxesjByPIbILDK4PNwHFEQwqM0df msKyM5BIC4FbLH63dBYJOucz/X810NJEEVEdm1KgwtD8+YPGFa+kwyJSPMil13E5P4zM iw+rglftzBsoaQSxvVRptrxcm+SeCHgmBSpt/iuUR3I3nMUO+Pb39k3+Tc8Qe9HnYfOJ sDrg== 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=tuWBv1OHXn3LmNS5neDiThmPCg8QSsYz5Ouz0FmEKeQ=; b=Wi4eSpNDOh5gTIx7KrcMBhPRpd6SOWKA1+3GM6XhtuS3vRDb74LnkkOyk5LsDzImP5 F6C86XCdM4YVN2YXP7pM9rxwUTU1ObtndAp/OpPON6PKVzOKug9OepVs6Dj0S+4rBmOe CCBeaVmU5ftqmSiW1xSd4COv60dBbgggK4FNIfM1H0Zam0ThEGv07CtdBAkBc7WTnUwv zorQJTh5iudPcRzZJUNF9CfIGZVtKrSMt4oQes1JsU3uofPf5WeBzlRDr4IOEbYJDQPK 1l8gFTe4ijxv5cuDl+NgmcnwhkS58DK8AGShZX2Fgg9M7Mz3YMG6OHeZAHMUaxiLtHTx TZTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=KMi3qgYc; 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 qb36-20020a1709077ea400b00773db351c39si1001110ejc.64.2022.11.24.17.32.58; Thu, 24 Nov 2022 17:32:58 -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=KMi3qgYc; 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 91B8468BC14; Fri, 25 Nov 2022 03:31:13 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2DCD068BB61 for <ffmpeg-devel@ffmpeg.org>; Fri, 25 Nov 2022 03:30:58 +0200 (EET) Received: by mail-ed1-f54.google.com with SMTP id x102so4560607ede.0 for <ffmpeg-devel@ffmpeg.org>; Thu, 24 Nov 2022 17:30:58 -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=Xaf189eVqt5JS+t+POl4R9FximzKrQUyDREGkxwpb5o=; b=KMi3qgYcMPyu09HKDJHaJRKhwTYJfryydphvKars30DwdcPrT5WpONwrFf0Vyc2ydj +51dNce2rraR/MjkXDVxypMYBdNIIkUO5zoYa9dbv2pr7qRI0iiw9KNVsXgSY5mO5i5Z 8Nzb2rw7F3CggUD9R3aIe7xntkB3OOUQmR/uSz8Sel/G4ZOpzDmKm1FAaMTHd09x7Yz1 TRCfPBM7m35jtYLC68MxiscPxSnO8pDXVixHWCGHNbuU4mwV4SDMeJiMKt5BpU9qVZRg s9+3sQKkbb+84ElPSbmupZRsq12k5I8oTt3/QONeSknubxr3qRaTmkoLCSgiSv1pAczz UYeQ== 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=Xaf189eVqt5JS+t+POl4R9FximzKrQUyDREGkxwpb5o=; b=0hHNfHqVMMSXYB9mZoo90iDdBQpCt4BfImCOj29ICl/ywTxEEAPvk9fiiSimsseHIV wKNbO6pCBzzrymvokCSeYXFh17fVawVtYac3lS/CjRQSgM4DYrsOYL3AKK4+iW/F8FXt lrLIMh6qYqEkpfwDNzl8ibvZqht7/5V8kK4T5WrQTET8RXbPGv/10SE4AQv9DpA2Arzj BI7IiwrTA3DKe7ptZyJYoaYjkzRwI0tVYmm5s3LAse2ldk0Vty2vOnPQSfwjkNmyRxtL T3Idq3dQHytvYUCRHD53tOAPRKqZiWJAnb+66UALW+f8MCvgPtqd9Bx9MByZUdngKobw Flzw== X-Gm-Message-State: ANoB5pk25KgLcAX4/V1E7/zOFR+zu2D7JeYQez9QHcS+evzZOlHR+1Cm rPb/1WkB6DGkRuhB2KoWHDIoLCNXzg4= X-Received: by 2002:a05:6402:b88:b0:46a:9815:d1c3 with SMTP id cf8-20020a0564020b8800b0046a9815d1c3mr3460801edb.205.1669339857737; Thu, 24 Nov 2022 17:30:57 -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.30.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Nov 2022 17:30:57 -0800 (PST) From: Marvin Scholz <epirat07@gmail.com> To: ffmpeg-devel@ffmpeg.org Date: Fri, 25 Nov 2022 02:30:23 +0100 Message-Id: <20221125013046.40904-9-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 08/31] avfilter/vf_scale: 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: 8CTbl2KZQGul |
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/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index 2b12cf283c..b95e2e6c66 100644 --- a/libavfilter/vf_scale.c +++ b/libavfilter/vf_scale.c @@ -555,8 +555,8 @@ static int config_props(AVFilterLink *outlink) scale->out_range == AVCOL_RANGE_JPEG, 0); if (scale->opts) { - AVDictionaryEntry *e = NULL; - while ((e = av_dict_get(scale->opts, "", e, AV_DICT_IGNORE_SUFFIX))) { + const AVDictionaryEntry *e = NULL; + while ((e = av_dict_iterate(scale->opts, e))) { if ((ret = av_opt_set(s, e->key, e->value, 0)) < 0) return ret; }