ffmpeg_demux: init resume_warn variable
Fixes an uninitialized read introduced with
6232f416b1
Fix CID 1643162 Uninitialized scalar variable
This commit is contained in:
parent
089e69dfe4
commit
f019dd69f0
1 changed files with 1 additions and 1 deletions
|
|
@ -504,7 +504,7 @@ static void readrate_sleep(Demuxer *d)
|
|||
(f->start_time != AV_NOPTS_VALUE ? f->start_time : 0)
|
||||
);
|
||||
int64_t initial_burst = AV_TIME_BASE * d->readrate_initial_burst;
|
||||
int resume_warn;
|
||||
int resume_warn = 0;
|
||||
|
||||
for (int i = 0; i < f->nb_streams; i++) {
|
||||
InputStream *ist = f->streams[i];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue