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