This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new 7b534c2bdc avfilter/dnn_backend_tf: fix ctx async field access
7b534c2bdc is described below
commit 7b534c2bdcf4ca67f95b541adee0049a0c716794
Author: stevxiao <[email protected]>
AuthorDate: Thu Mar 19 10:28:22 2026 -0400
Commit: Zhao Zhili <[email protected]>
CommitDate: Fri Mar 20 02:22:06 2026 +0000
avfilter/dnn_backend_tf: fix ctx async field access
ctx->options.async does not exist on DnnContext; the correct
field is ctx->async directly on the context struct.
Signed-off-by: younengxiao <[email protected]>
---
libavfilter/dnn/dnn_backend_tf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavfilter/dnn/dnn_backend_tf.c b/libavfilter/dnn/dnn_backend_tf.c
index 2c33691f96..48372bea38 100644
--- a/libavfilter/dnn/dnn_backend_tf.c
+++ b/libavfilter/dnn/dnn_backend_tf.c
@@ -541,8 +541,8 @@ static DNNModel *dnn_load_model_tf(DnnContext *ctx,
DNNFunctionType func_type, A
}
#if !HAVE_PTHREAD_CANCEL
- if (ctx->options.async) {
- ctx->options.async = 0;
+ if (ctx->async) {
+ ctx->async = 0;
av_log(filter_ctx, AV_LOG_WARNING, "pthread is not supported, roll
back to sync.\n");
}
#endif
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]