1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00

avfilter/dnn_backend_tf: fix use of uninitialized value

Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
Zhao Zhili 2023-04-30 23:39:01 +08:00
parent d9f41a343e
commit b0c0fedcda

View File

@ -625,7 +625,7 @@ static int fill_model_input_tf(TFModel *tf_model, TFRequestItem *request) {
DNNData input;
LastLevelTaskItem *lltask;
TaskItem *task;
TFInferRequest *infer_request;
TFInferRequest *infer_request = NULL;
TFContext *ctx = &tf_model->ctx;
int ret = 0;