vlc/vlc-3.0 | branch: master | Francois Cartegnie <[email protected]> | Mon May 31 14:44:55 2021 +0200| [29e97856cde48fb8567bf5d97fe170d0a1144af3] | committer: Hugo Beauzée-Luyssen
demux: mp4: fix missing intra-trun sample increment on seek ends up reading wrong sample size/time refs #25784 (cherry picked from commit 86b1ffe50f7cb5cbe273f14e1c4e0ba2b3572f93) Signed-off-by: Hugo Beauzée-Luyssen <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=29e97856cde48fb8567bf5d97fe170d0a1144af3 --- modules/demux/mp4/mp4.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c index 6cb9f5e4e7..bc7d741f64 100644 --- a/modules/demux/mp4/mp4.c +++ b/modules/demux/mp4/mp4.c @@ -1645,6 +1645,7 @@ static void FragTrunSeekToTime( mp4_track_t *p_track, stime_t i_target_time ) i_time += dur; i_pos += len; + i_sample++; } } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
