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 01148487C7 for ; Mon, 18 Dec 2023 06:36:24 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1BC5568D1AC; Mon, 18 Dec 2023 08:36:21 +0200 (EET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E994868D1A6 for ; Mon, 18 Dec 2023 08:36:14 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702881380; x=1734417380; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=b3HNDk/aaYRfTZS44fcnJOjBLsjFX5v2w1bOzGGPVWo=; b=Wg9BbPF7Dsd9q/VcVbWjHenRzeBMod6IzprWsJZ1mnZKzWY76XaRtx5F hxlS1AkRo7m3hpNEGjpG5rJHOJNYXL7lLhj7buB/J4t2kuowZnB6b7DEz V0rcau6k5Wy3D53suafZB30pPp/NISU7++Dnl/dBya3+JVpP/YyfenwzV sSxTVOKXUYW0belbL+dyEnXG3onDjNAD1PurWzz0FcAPvVhUhYvCRGrOR AzCgHpR4QlMNDfajeU1mdOp+TCkdHu6spUUCmnnujbRmkvuwN3NT1SO7u u8NPFLPmV0Z3Kk18kdnj6myq5cuXSxudcatnke7pyh0fpmFIe9Ct8+gxy w==; X-IronPort-AV: E=McAfee;i="6600,9927,10927"; a="14148792" X-IronPort-AV: E=Sophos;i="6.04,284,1695711600"; d="scan'208";a="14148792" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Dec 2023 22:36:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10927"; a="1022652236" X-IronPort-AV: E=Sophos;i="6.04,284,1695711600"; d="scan'208";a="1022652236" Received: from wenbin-z390-aorus-ultra.sh.intel.com ([10.239.156.43]) by fmsmga006.fm.intel.com with ESMTP; 17 Dec 2023 22:36:06 -0800 From: wenbin.chen-at-intel.com@ffmpeg.org To: ffmpeg-devel@ffmpeg.org Date: Mon, 18 Dec 2023 14:36:05 +0800 Message-Id: <20231218063605.558558-2-wenbin.chen@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218063605.558558-1-wenbin.chen@intel.com> References: <20231218063605.558558-1-wenbin.chen@intel.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 2/2] libavfilter/vf_dnn_detect: Add initialized value to function pointer 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 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: From: Wenbin Chen Signed-off-by: Wenbin Chen --- libavfilter/vf_dnn_detect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_dnn_detect.c b/libavfilter/vf_dnn_detect.c index 52d5c3d798..88865c8a8e 100644 --- a/libavfilter/vf_dnn_detect.c +++ b/libavfilter/vf_dnn_detect.c @@ -157,7 +157,7 @@ static int dnn_detect_parse_yolo_output(AVFrame *frame, DNNData *output, int out float *output_data = output[output_index].data; float *anchors = ctx->anchors; AVDetectionBBox *bbox; - float (*post_process_raw_data)(float x); + float (*post_process_raw_data)(float x) = linear; int is_NHWC = 0; if (ctx->model_type == DDMT_YOLOV1V2) { -- 2.34.1 _______________________________________________ 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".