ffmpeg_sched: initialize have_unchoked

Should fix valgrind warnings about Conditional jump or move depends on uninitialised value.

Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: James Almer <jamrial@gmail.com>
release/7.0
James Almer 1 year ago
parent 34d56e1766
commit 7cc4b306eb
  1. 2
      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

Loading…
Cancel
Save