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 9641F44061 for ; Fri, 25 Nov 2022 01:31:39 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id DA72A68BB5A; Fri, 25 Nov 2022 03:31:03 +0200 (EET) Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D20AE68BACA for ; Fri, 25 Nov 2022 03:30:54 +0200 (EET) Received: by mail-ej1-f53.google.com with SMTP id bj12so7182966ejb.13 for ; Thu, 24 Nov 2022 17:30:54 -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=MoULvAcSqQiLnchfXr21d4eDTgr9LCvv9U3HJ/vs014=; b=mPB/2nqAwNGvODpwF2+n6Jk9rqCPDUiXs9H61As8Z9b0q70/p8WRNrnVDqJSry3/57 Zx8agYAK6w2c/GA625hVU5nQ4DqRAeTntPUa+9nfvCj3euw6/S3xxQ3rP7sxQpVzKoC4 icyKdVo37LAfWAZifAAQspcJjQnGgIXNhVYRUjob4jGoraAmlQv3zliw+U/Bij1TgRd+ 7Z3R8CQsmpmMCUU9BalI6ShHmAn3FGO0yiJWinW9xN4KkaxbDYgh9Fc4HFnDM+Tslqll SfiVor5BAbgsiUsc6SLIm9auUp34v41h1/oc6ymapGtcxQBRf1u446RR/ZDe52AJLAQz 9+eg== 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=MoULvAcSqQiLnchfXr21d4eDTgr9LCvv9U3HJ/vs014=; b=T9+j3HqaYakWzyT+ixaOSluipVcdwBJRoFoSY3FmMu1gV5saKe1amVn3zuk2sVR5Xg 7u79LQsWM23gK+vVzVha3ozktuob3IpbnSnZquXFnih8x9O/LcAbxblMdKyRnorN0mWr Qws5gD8PYDSGzk4s880NxPo3Af/5tKezPGO91Sn5VTNJVfGP8uTBiIKsJ6hFmAReURfN cGo2aPa68Pojzy5NxdKEF5cLLFDUL7RpjmEoTk8C/rSPpvhUWZLnrv++rnMqbgNVd8Zn F3N2hJzrHDXfw5ZWvu65xvS02PM1vfRsijZ+D463trpjShv+6tDuxYIYRoayP3req7jH OL6w== X-Gm-Message-State: ANoB5pmzqx6stBmSZo+junNbaZ1tt7QM0+zCl4L2XN6DtTUIi4v8K/3V Ku2FxbUwPPfHvYhcay5dRlQhKUfjdVw= X-Google-Smtp-Source: AA0mqf5QRgGzBjs9Vv11ktFCsj124kDpzF6UZlvTKdse46q8Pmxaio2vrsGSCnlGYnolx53D76baIw== X-Received: by 2002:a17:906:1d14:b0:7ad:79c0:46f4 with SMTP id n20-20020a1709061d1400b007ad79c046f4mr29493053ejh.363.1669339854222; Thu, 24 Nov 2022 17:30:54 -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.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Nov 2022 17:30:53 -0800 (PST) From: Marvin Scholz To: ffmpeg-devel@ffmpeg.org Date: Fri, 25 Nov 2022 02:30:18 +0100 Message-Id: <20221125013046.40904-4-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 03/31] avcodec/librav1e: 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 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: --- libavcodec/librav1e.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/librav1e.c b/libavcodec/librav1e.c index 4f424caf5b..f48d5e0eb4 100644 --- a/libavcodec/librav1e.c +++ b/libavcodec/librav1e.c @@ -243,8 +243,8 @@ static av_cold int librav1e_encode_init(AVCodecContext *avctx) } { - AVDictionaryEntry *en = NULL; - while ((en = av_dict_get(ctx->rav1e_opts, "", en, AV_DICT_IGNORE_SUFFIX))) { + const AVDictionaryEntry *en = NULL; + while ((en = av_dict_iterate(ctx->rav1e_opts, en))) { int parse_ret = rav1e_config_parse(cfg, en->key, en->value); if (parse_ret < 0) av_log(avctx, AV_LOG_WARNING, "Invalid value for %s: %s.\n", en->key, en->value); -- 2.37.0 (Apple Git-136) _______________________________________________ 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".