lavfi/dnn: add error info for TF backend filling task failure

Signed-off-by: Ting Fu <ting.fu@intel.com>
pull/389/head
Ting Fu 2 years ago committed by Guo Yejun
parent af052f9066
commit bc589c91f7
  1. 1
      libavfilter/dnn/dnn_backend_tf.c

@ -1152,6 +1152,7 @@ int ff_dnn_execute_model_tf(const DNNModel *model, DNNExecBaseParams *exec_param
ret = ff_dnn_fill_task(task, exec_params, tf_model, ctx->options.async, 1);
if (ret != 0) {
av_log(ctx, AV_LOG_ERROR, "Fill task with invalid parameter(s).\n");
av_freep(&task);
return ret;
}

Loading…
Cancel
Save