1
0

libavfilter/vf_dnn_detect: Add initialized value to function pointer

Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
This commit is contained in:
Wenbin Chen 2023-12-18 14:36:05 +08:00 committed by Haihao Xiang
parent 233c44f735
commit 9415c2c11f

View File

@ -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) {