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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue