1
0
Fork 0

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>
This commit is contained in:
James Almer 2023-12-12 16:10:24 -03:00
parent 34d56e1766
commit 7cc4b306eb
1 changed files with 1 additions and 1 deletions

View File

@ -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