This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/8.1 in repository ffmpeg.
commit 9193beee0d819482761131000aecd7d52e31b818 Author: Niklas Haas <[email protected]> AuthorDate: Sun Jun 28 14:43:14 2026 +0200 Commit: Marvin Scholz <[email protected]> CommitDate: Mon Jun 29 12:34:07 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 1a011f4722..3feb89f6e5 100644 --- a/fftools/ffmpeg_demux.c +++ b/fftools/ffmpeg_demux.c @@ -517,7 +517,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; @@ -541,10 +541,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]
