From patchwork Wed Nov 2 15:07:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thilo Borgmann X-Patchwork-Id: 39112 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a21:999a:b0:a4:2148:650a with SMTP id ve26csp875270pzb; Wed, 2 Nov 2022 08:07:48 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6RDzMHMtHKkeWt4Xe8Tt+8GWfHEY6ueD4Ksupo8UnGYVjyhW4q34Bd9ZXdznJa5b72YEWP X-Received: by 2002:a17:906:65c6:b0:73c:8897:65b0 with SMTP id z6-20020a17090665c600b0073c889765b0mr24692490ejn.322.1667401667620; Wed, 02 Nov 2022 08:07:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667401667; cv=none; d=google.com; s=arc-20160816; b=LwMxSPqb4P3d5N4aF/QJTY2qvkHQWkjoE6X1HxQ2BPHoKI4KQVWDDtztF8gVOoBqmh wB7KAW5+unEkWja71PhQwpjMehsH6hUZMA123bBHpSCvasVJRm2+iolnK6YT00ZlpNgu c4MEnxbXhkughRn13Hu5rfU4c1dabuw79IyXMlKewy12tpuI+32+ROtIAUflQY6xtJsv eCeY1BuE4JT2/5PPG/7xa3B1iXNW88dFgknA7IxYGqmCAYoIOIxveyaMST7+j3xyv5dM 8HdDPT/3GYE6D3GkpiIObRGL7BQ2DwVnhfIAsTa/9S/CTdwt4TZRw2pc31BFKBFD7PUq 86Zg== 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:message-id:date:to:from :dkim-signature:delivered-to; bh=eLvRElgbuLqVO9Iz+jRMfTIFxc+Oq13s/3dtNEJbzrc=; b=RDV43LLfFdtQc79MtQQowc8xoQnBhIEhFscHJIaHWr1pAvSfiVhtdjGIKyFMDlEa1Y 3qxb3EreCd1RQtKrU0FNDu86WvM7bWL713tR8Jnldfp9oR7iWxDp1m/wqeDZG0mr8dxe XtRESFImzPt6swiTiFvxBHUp8w1dRPo4aAHxwQ7mAuBWUbqf0AHijr8dVpLZaue/PUS8 7SHr29bM2IOzp/bT4wQ8+xjY7CGZsNd5/sU7JDBX+urEE40yn8FTzgfIuTet1vZosiuo RoFmdVIPr55POVvYsAXa/CxCPmkHWnD+8GzRkyqi9IPA8xTLRTc1TNEGD+MMJdGjMcar s+hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@mail.de header.s=mailde202009 header.b=Go7GHpey; 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=NONE dis=NONE) header.from=mail.de Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id sg18-20020a170907a41200b007adc5c4626bsi14173718ejc.50.2022.11.02.08.07.45; Wed, 02 Nov 2022 08:07:47 -0700 (PDT) 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=@mail.de header.s=mailde202009 header.b=Go7GHpey; 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=NONE dis=NONE) header.from=mail.de Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C00FD68BEA3; Wed, 2 Nov 2022 17:07:41 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from shout02.mail.de (shout02.mail.de [62.201.172.25]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2D0AC68BE49 for ; Wed, 2 Nov 2022 17:07:35 +0200 (EET) Received: from postfix03.mail.de (postfix03.bt.mail.de [10.0.121.127]) by shout02.mail.de (Postfix) with ESMTP id 27A13A103A; Wed, 2 Nov 2022 16:07:34 +0100 (CET) Received: from smtp02.mail.de (smtp02.bt.mail.de [10.0.121.212]) by postfix03.mail.de (Postfix) with ESMTP id 0AA06800D4; Wed, 2 Nov 2022 16:07:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.de; s=mailde202009; t=1667401654; bh=K0uJmeoSI2/3LG5gusj6hLjFElN0tPXyIcQsLdsOE8g=; h=From:To:Cc:Subject:Date:Message-Id:From:To:CC:Subject:Reply-To; b=Go7GHpey4yOQRuS7PTRpdEvqEMEJU0HwJKpAag/xJTcmbA8Lw5hxvF9jfbCpa7AZr F4LwnXu5y2bv+BK3Yq0ZaEXlMnV5iLMNRA6B70QwjVmlvr/OaoRen08X8MeslwC/Gq xwrSnw6YZp7leMFNfTcMktcKPh6/CI6pKxiBVZilr0jluo4hAHyBkXH7E7JPcy/mM1 g2WlvVvTtu3SSqpML3IKdoXIcWnAXK3bIQE0TyK8Sz62i+PtzQlnH7VzJfJEyr/TRm 7z0/UQfNDAMnrz27+IhndvUdXriabjStKbFFxUXvO1wyTUtoeDk0bWQAQLf0NdTa8q Q2LfHHCU9ndng== Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp02.mail.de (Postfix) with ESMTPSA id 7D6B8A055B; Wed, 2 Nov 2022 16:07:33 +0100 (CET) From: Thilo Borgmann To: ffmpeg-devel@ffmpeg.org Date: Wed, 2 Nov 2022 16:07:12 +0100 Message-Id: <20221102150712.34318-1-thilo.borgmann@mail.de> MIME-Version: 1.0 X-purgate: clean X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 805 X-purgate-ID: 154282::1667401653-D8FFC8E0-9B08AB81/0/0 Subject: [FFmpeg-devel] [PATCH] lavfi/vf_dnn_processing.c: Fix missing AV_PIX_FMT_GRAY8 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: Thilo Borgmann , Cosmin Stejerean Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: leyoqGh8BYO8 From: Cosmin Stejerean Has been removed by mistake in 2003e32f62d94ba75b59d70632c9f2862b383591, readd it to the switch cases. Signed-off-by: Thilo Borgmann --- libavfilter/vf_dnn_processing.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/vf_dnn_processing.c b/libavfilter/vf_dnn_processing.c index cac096a19f..4462915073 100644 --- a/libavfilter/vf_dnn_processing.c +++ b/libavfilter/vf_dnn_processing.c @@ -110,6 +110,7 @@ static int check_modelinput_inlink(const DNNData *model_input, const AVFilterLin return AVERROR(EIO); } return 0; + case AV_PIX_FMT_GRAY8: case AV_PIX_FMT_GRAYF32: case AV_PIX_FMT_YUV420P: case AV_PIX_FMT_YUV422P: