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 133923a209 avfilter/dnn: assign correct output layout before use
133923a209 is described below
commit 133923a209c4581d31d44f55136976f464934155
Author: Guo Yejun <[email protected]>
AuthorDate: Sun Aug 2 09:50:22 2026 +0800
Commit: Guo Yejun <[email protected]>
CommitDate: Sun Aug 2 12:38:31 2026 +0800
avfilter/dnn: assign correct output layout before use
---
libavfilter/dnn/dnn_backend_tf.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavfilter/dnn/dnn_backend_tf.c b/libavfilter/dnn/dnn_backend_tf.c
index 07129bcdb6..f8a4d9bc62 100644
--- a/libavfilter/dnn/dnn_backend_tf.c
+++ b/libavfilter/dnn/dnn_backend_tf.c
@@ -707,6 +707,7 @@ static void infer_completion_callback(void *args) {
}
for (uint32_t i = 0; i < task->nb_output; ++i) {
+ outputs[i].layout = DL_NHWC;
outputs[i].dims[dnn_get_height_idx_by_layout(outputs[i].layout)] =
TF_Dim(infer_request->output_tensors[i], 1);
outputs[i].dims[dnn_get_width_idx_by_layout(outputs[i].layout)] =
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]