mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-09-19 21:06:42 +00: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)
|
static void schedule_update_locked(Scheduler *sch)
|
||||||
{
|
{
|
||||||
int64_t dts;
|
int64_t dts;
|
||||||
int have_unchoked;
|
int have_unchoked = 0;
|
||||||
|
|
||||||
// on termination request all waiters are choked,
|
// on termination request all waiters are choked,
|
||||||
// we are not to unchoke them
|
// we are not to unchoke them
|
||||||
|
Loading…
Reference in New Issue
Block a user