History

libavfilter/vf_dnn_detect: Add initialized value to function pointer

Wenbin Chen committed 2 years ago

Commit 9415c2c1 parent 233c44f1 file · +1 −1Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/vf_dnn_detect.c+1−1
@@ -157,7 +157,7 @@ static int dnn_detect_parse_yolo_output(AVFrame *frame, DNNData *output, int out · 156 unmodified lines
157 float *output_data = output[output_index].data;157 float *output_data = output[output_index].data;
158 float *anchors = ctx->anchors;158 float *anchors = ctx->anchors;
159 AVDetectionBBox *bbox;159 AVDetectionBBox *bbox;
160 float (*post_process_raw_data)(float x);160 float (*post_process_raw_data)(float x) = linear;
161 int is_NHWC = 0;161 int is_NHWC = 0;
162 162
163 if (ctx->model_type == DDMT_YOLOV1V2) {163 if (ctx->model_type == DDMT_YOLOV1V2) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t