[vlc-commits] [Git][videolan/vlc][master] demux: libmp4: only use i_base_media_decode_time if it fits a stime_t
Steve Lhomme (@robUx4)
gitlab at videolan.org
Sun Sep 6 07:02:26 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
8933fcbb by Steve Lhomme at 2026-09-06T06:52:06+00:00
demux: libmp4: only use i_base_media_decode_time if it fits a stime_t
Such a large value doesn't seem right anyway.
Fixes #28997 (yet another source)
- - - - -
1 changed file:
- modules/demux/mp4/mp4.c
Changes:
=====================================
modules/demux/mp4/mp4.c
=====================================
@@ -4911,7 +4911,7 @@ static int ProbeFragments( demux_t *p_demux, bool b_force, bool *pb_fragmented )
if( p_traf )
p_tfdt = MP4_BoxGet( p_traf, "tfdt" );
- if( p_tfdt && BOXDATA(p_tfdt) )
+ if( p_tfdt && BOXDATA(p_tfdt) && p_tfdt->data.p_tfdt->i_base_media_decode_time <= INT64_MAX)
{
pi_track_times[i] = p_tfdt->data.p_tfdt->i_base_media_decode_time;
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8933fcbb842395fb13089171655c34a70dd2abc3
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8933fcbb842395fb13089171655c34a70dd2abc3
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list