mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
libavfilter/vf_dnn_detect: Add initialized value to function pointer
Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
This commit is contained in:
parent
233c44f735
commit
9415c2c11f
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user