Message ID | 20221125013046.40904-5-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 ve26csp4948697pzb; Thu, 24 Nov 2022 17:32:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf5+1icSGw1AJbmx5gDjIyugg/rGwAQfM5VkiHGKl0B0gWhLnvl0Gr2YrRWzcZYn2HnmqHp+ X-Received: by 2002:a17:906:52d3:b0:7bb:4d2c:2192 with SMTP id w19-20020a17090652d300b007bb4d2c2192mr4256768ejn.416.1669339928437; Thu, 24 Nov 2022 17:32:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669339928; cv=none; d=google.com; s=arc-20160816; b=ngIn6TbW5wH+UptO7taMlGATEtSS/jaUr4vuLzKcILVY6AUXhs3TmviKj7Av1pOF8F JhBO2gEcbV7fozDg2YaKVmqR9SDv51yQbvP5JoTg6PwZE2RYbCLGhg8LFmH7VqDlsWow lIweAnmQ8oR34lDX71V+Xksx2uPI5jlCWdaQ/CCuGknCPoaF69yq84bxl2PFv7uOXTI1 TKYhlOs6szZgaSb0uLlNDqBU8f2WQll71oQfAOuHFwYiWTf3LAoeyd0jgkh+/b7b1Oln 0heOqNWyriD7sx43wsDBtzM2dc1TJnrDfAfNJbfF00Vx4i5U25HFjCOr6oiKcyX2mDFP PEqg== 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=n8ei5KAM8J9Yyah7adCkvkTx+eMS3oI/it5Evocqo0A=; b=v+T0yPTvNwAGoaaKlSQHgZ5R7Kniwnu5UhLHAM2zeQ4qfn4iev8DfKWggWUIeX+/In y/eClTD0RDkXadEbyRJ/UNxffybpHg7C52pyN9oNYgAPIu7yhyob7XHcsmv+aRpj1uKQ nZwxEYVEL7WvOX0pxOr8vusNXWNdfldFSIZzrKl37YTh2dwGoKsWJTRmzRrwSKMFIOUG hjF/rH6w6k9fpUas1fXZI1mBU9Lzx5jPQRl6lFzPuaQ3dZekJBhHSs7TxLg8ee3zH6GP hBGr0TERcD20a5rWxevYJDMsf9E1BK71pmVNIl5NOnEHo/3Hr7tXKJSIvCxJmIf9iBCl Bh/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=ExbdhNXs; 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 cs9-20020a170906dc8900b0078db594808dsi2155967ejc.588.2022.11.24.17.32.07; Thu, 24 Nov 2022 17:32:08 -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=ExbdhNXs; 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 7195368BB0D; Fri, 25 Nov 2022 03:31:07 +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 8CD1B68BACE for <ffmpeg-devel@ffmpeg.org>; Fri, 25 Nov 2022 03:30:55 +0200 (EET) Received: by mail-ed1-f54.google.com with SMTP id r26so2408950edc.10 for <ffmpeg-devel@ffmpeg.org>; Thu, 24 Nov 2022 17:30:55 -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=49Hlm+MT2X6vzU7RImTPCKswEJGotGgbioChgFcspIM=; b=ExbdhNXsZkz/L/zEFWvhk22WHJnweXyPkL+Couw6qdRGUDKMoClnu86bCly1cIYg2k ATbXNWIMx4hs8gdz1bOLKs6IEibvZKyUyVC8KOYZ0dH7k6MneEa/s+iInVVALCtdUSqq L7h7l482hfzDKjvXNFef3D6drA2ytftav7VMnVf0o/E6uI+BdzTp5Zz91n3jB4zD+Nq8 1QHcBdYHN6lV0ZWu1MDaSH7yuekQ2LZJOdM1iYpNhsk32rBF5aZd+8Bzqo5BbIX6stpl mJJ5SADn7Td95/mCQJXmcvOvuxgy3EI40POX19NwLdYtbPv1Of73mMZvrPvfW2lQ9L/0 ENWg== 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=49Hlm+MT2X6vzU7RImTPCKswEJGotGgbioChgFcspIM=; b=3h8wN99TuIDYOkVpEWRCIXGwIx6NEBAZ0an7trC2lMKAaBSj7d+JsSz6WHVqhcQkXL 1epeb30/1hvrK0PiQRrAtZ8aeiodWcRiDnpGCFbGZrpRIQi/PMTU7NwqyEPqdvg0IE4x 1dt2KV6IOpd34MdoMrpUKSPHbvvyeQT4J2HNS0fT5btA7s3x3L7guR1gpnch7ReJJ2w2 g2Mnk0trrOmUke7znUCx5Z6nlRDb9l20qmvdHBL0TFU1PqPmo7ghYpC56XAPpal4Bv+9 nid3ibtjYer417J2BAEO+MZF+k5UqNuTGG+0DANmf90SAt8leVkmhIk/r35H9pZfTIrh FA0w== X-Gm-Message-State: ANoB5pnWrTYKRKV4fNKU1vDF9+xlvWuduNKWVl1jYp40QlRKc7nKRbmt zngF8BFz8T2WwfoY5ZThiVBMrs0paCM= X-Received: by 2002:a05:6402:2a08:b0:461:5e99:a299 with SMTP id ey8-20020a0564022a0800b004615e99a299mr32510796edb.40.1669339854943; 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.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Nov 2022 17:30:54 -0800 (PST) From: Marvin Scholz <epirat07@gmail.com> To: ffmpeg-devel@ffmpeg.org Date: Fri, 25 Nov 2022 02:30:19 +0100 Message-Id: <20221125013046.40904-5-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 04/31] avcodec/librav1e: remove unnecessary variable 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: uxvHtfAFxTO4 |
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/libavcodec/librav1e.c b/libavcodec/librav1e.c index f48d5e0eb4..3481b7637d 100644 --- a/libavcodec/librav1e.c +++ b/libavcodec/librav1e.c @@ -245,8 +245,7 @@ static av_cold int librav1e_encode_init(AVCodecContext *avctx) { 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) + if (rav1e_config_parse(cfg, en->key, en->value) < 0) av_log(avctx, AV_LOG_WARNING, "Invalid value for %s: %s.\n", en->key, en->value); } }