ffmpeg | branch: master | James Almer <jamr...@gmail.com> | Tue Dec 12 16:10:24 2023 -0300| [7cc4b306eb8ab4da3b051fcc531cc5fad47f5271] | committer: James Almer
ffmpeg_sched: initialize have_unchoked Should fix valgrind warnings about Conditional jump or move depends on uninitialised value. Reviewed-by: Anton Khirnov <an...@khirnov.net> Signed-off-by: James Almer <jamr...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7cc4b306eb8ab4da3b051fcc531cc5fad47f5271 --- fftools/ffmpeg_sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftools/ffmpeg_sched.c b/fftools/ffmpeg_sched.c index 69f8c0c3c0..96eaaae072 100644 --- a/fftools/ffmpeg_sched.c +++ b/fftools/ffmpeg_sched.c @@ -1187,7 +1187,7 @@ static int64_t trailing_dts(const Scheduler *sch) static void schedule_update_locked(Scheduler *sch) { int64_t dts; - int have_unchoked; + int have_unchoked = 0; // on termination request all waiters are choked, // we are not to unchoke them _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".