aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWenbin Chen <wenbin.chen@intel.com>2023-12-18 14:36:05 +0800
committerHaihao Xiang <haihao.xiang@intel.com>2023-12-21 16:15:23 +0800
commit9415c2c11fc7141587c387e59d55a024fe38d0a2 (patch)
treeb33fe0b74bc0051122341b910f45fd6559023854
parent233c44f735faec193150f852d558aef7c4683b3b (diff)
downloadffmpeg-9415c2c11fc7141587c387e59d55a024fe38d0a2.tar.gz
libavfilter/vf_dnn_detect: Add initialized value to function pointer
Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
-rw-r--r--libavfilter/vf_dnn_detect.c2
1 files changed, 1 insertions, 1 deletions
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) {