[vlc-commits] [Git][videolan/vlc][master] demux: mp4: fix unaligned trun seek

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Mon Mar 21 05:06:57 UTC 2022



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
3ee0bb4c by Francois Cartegnie at 2022-03-21T04:52:47+00:00
demux: mp4: fix unaligned trun seek

refs #26719

- - - - -


1 changed file:

- modules/demux/mp4/mp4.c


Changes:

=====================================
modules/demux/mp4/mp4.c
=====================================
@@ -1893,10 +1893,10 @@ static void FragTrunSeekToTime( mp4_track_t *p_track, stime_t i_target_time )
             i_sample++;
         }
     }
-
     p_track->context.i_trun_sample = i_sample;
     p_track->context.i_trun_sample_pos = i_pos;
     p_track->context.runs.i_current = i_run;
+    p_track->i_time = i_time;
 }
 
 #define INVALID_SEGMENT_TIME  VLC_TICK_MAX



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/3ee0bb4c28fb8c9df32fb102e5a1176e81f6ab48

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/3ee0bb4c28fb8c9df32fb102e5a1176e81f6ab48
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list