History

avfilter/dnn_backend_tf: fix use of uninitialized value

Zhao Zhili committed 3 years ago

Commit b0c0fed1 parent d9f41a31 file · +1 −1Browse files

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

Unified · Split

libavfilter/dnn/dnn_backend_tf.c+1−1
@@ -625,7 +625,7 @@ static int fill_model_input_tf(TFModel *tf_model, TFRequestItem *request) { · 624 unmodified lines
625625 DNNData input;
626626 LastLevelTaskItem *lltask;
627627 TaskItem *task;
628− TFInferRequest *infer_request;
628+ TFInferRequest *infer_request = NULL;
629629 TFContext *ctx = &tf_model->ctx;
630630 int ret = 0;
631631

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