This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/8.0 in repository ffmpeg.
commit 51eec5d7a66fd6173b4217e395a0019afa8a3306 Author: Niklas Haas <[email protected]> AuthorDate: Sun Jun 28 14:43:14 2026 +0200 Commit: Marvin Scholz <[email protected]> CommitDate: Mon Jun 29 13:24:01 2026 +0200 fftools/ffmpeg_demux: remove unused variable This is a dead assignment except on a single branch, so just define it locally. Signed-off-by: Niklas Haas <[email protected]> (cherry picked from commit e7be06c8bd5403185f8656c4054393694dbd0bd4) Signed-off-by: Marvin Scholz <[email protected]> --- fftools/ffmpeg_demux.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fftools/ffmpeg_demux.c b/fftools/ffmpeg_demux.c index f33705ce07..bc279c4fc1 100644 --- a/fftools/ffmpeg_demux.c +++ b/fftools/ffmpeg_demux.c @@ -510,7 +510,7 @@ static void readrate_sleep(Demuxer *d) for (int i = 0; i < f->nb_streams; i++) { InputStream *ist = f->streams[i]; DemuxStream *ds = ds_from_ist(ist); - int64_t stream_ts_offset, pts, now, wc_elapsed, elapsed, lag, max_pts, limit_pts; + int64_t stream_ts_offset, pts, now, wc_elapsed, lag, max_pts, limit_pts; if (ds->discard || ds->finished || ds->first_dts == AV_NOPTS_VALUE) continue; @@ -534,10 +534,9 @@ static void readrate_sleep(Demuxer *d) if (ds->lag && !lag) ds->lag = ds->resume_wc = ds->resume_pts = 0; if (ds->resume_wc) { - elapsed = now - ds->resume_wc; + int64_t elapsed = now - ds->resume_wc; limit_pts = ds->resume_pts + (int64_t)(elapsed * d->readrate_catchup); } else { - elapsed = wc_elapsed; limit_pts = max_pts; } _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
