mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
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:
parent
34d56e1766
commit
7cc4b306eb
@ -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…
x
Reference in New Issue
Block a user