This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 8dc025c70645d3256f065c33f4bab02dc7213903
Author:     Niklas Haas <[email protected]>
AuthorDate: Sat Dec 20 17:53:19 2025 +0100
Commit:     Niklas Haas <[email protected]>
CommitDate: Tue Feb 3 12:00:31 2026 +0100

    fftools/ffmpeg_sched: drop unneeded atomic
    
    No longer needed now that this code is always locked.
---
 fftools/ffmpeg_sched.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fftools/ffmpeg_sched.c b/fftools/ffmpeg_sched.c
index 237f1830df..517ff1ea85 100644
--- a/fftools/ffmpeg_sched.c
+++ b/fftools/ffmpeg_sched.c
@@ -247,7 +247,7 @@ typedef struct SchFilterGraph {
 
     SchFilterIn        *inputs;
     unsigned         nb_inputs;
-    atomic_uint      nb_inputs_finished_send;
+    unsigned         nb_inputs_finished_send;
     unsigned         nb_inputs_finished_receive;
 
     SchFilterOut       *outputs;
@@ -2304,7 +2304,7 @@ static int send_to_filter(Scheduler *sch, SchFilterGraph 
*fg,
         tq_send_finish(fg->queue, in_idx);
 
         // close the control stream when all actual inputs are done
-        if (atomic_fetch_add(&fg->nb_inputs_finished_send, 1) == fg->nb_inputs 
- 1)
+        if (++fg->nb_inputs_finished_send == fg->nb_inputs)
             tq_send_finish(fg->queue, fg->nb_inputs);
 
         schedule_update_locked(sch);

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to