libavfilter/vf_dnn_detect: Add initialized value to function pointer
Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
This commit is contained in:
committed by
Haihao Xiang
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 *output_data = output[output_index].data;
|
||||||
float *anchors = ctx->anchors;
|
float *anchors = ctx->anchors;
|
||||||
AVDetectionBBox *bbox;
|
AVDetectionBBox *bbox;
|
||||||
float (*post_process_raw_data)(float x);
|
float (*post_process_raw_data)(float x) = linear;
|
||||||
int is_NHWC = 0;
|
int is_NHWC = 0;
|
||||||
|
|
||||||
if (ctx->model_type == DDMT_YOLOV1V2) {
|
if (ctx->model_type == DDMT_YOLOV1V2) {
|
||||||
|
Reference in New Issue
Block a user