This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/8.1 in repository ffmpeg.
commit 810bf13f21ae3f0fc2d0c57298a79c7887379055 Author: tknaveen <[email protected]> AuthorDate: Thu Apr 30 16:43:49 2026 +0530 Commit: Michael Niedermayer <[email protected]> CommitDate: Sun Nov 29 20:34:45 2026 +0100 avfilter/dnn_backend_torch: fix missing ret in async error path ff_dnn_start_inference_async() return value was not stored in ret, causing execute_model_th() to return success on async startup failure. This left vf_dnn_processing stuck in its flush loop waiting on a task that was never started. (cherry picked from commit 766074133f9711e440144a940ac0ad32a8b8e5d7) Signed-off-by: Michael Niedermayer <[email protected]> --- libavfilter/dnn/dnn_backend_torch.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libavfilter/dnn/dnn_backend_torch.cpp b/libavfilter/dnn/dnn_backend_torch.cpp index ff7ff9571f..40551cf789 100644 --- a/libavfilter/dnn/dnn_backend_torch.cpp +++ b/libavfilter/dnn/dnn_backend_torch.cpp @@ -345,7 +345,11 @@ static int execute_model_th(THRequestItem *request, Queue *lltask_queue) } if (task->async) { - return ff_dnn_start_inference_async(th_model->ctx, &request->exec_module); + ret = ff_dnn_start_inference_async(th_model->ctx, &request->exec_module); + if (ret != 0) { + goto err; + } + return 0; } else { // Synchronous execution path ret = th_start_inference((void *)(request)); -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
