[vlc-commits] demux: mp4: remove assertion

Francois Cartegnie git at videolan.org
Sun May 14 22:06:57 CEST 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun May 14 22:03:41 2017 +0200| [f39eb49c05d2bc07be0e580f754b2eda890a0172] | committer: Francois Cartegnie

demux: mp4: remove assertion

would assert on flat layout

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f39eb49c05d2bc07be0e580f754b2eda890a0172
---

 modules/demux/mp4/mp4.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index 6f2b39db25..0defeaf6b3 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -1367,7 +1367,6 @@ static int DemuxMoov( demux_t *p_demux )
                     continue;
 
                 mtime_t i_nzdts = MP4_TrackGetDTS( p_demux, tk_tmp );
-                assert(i_nzdts >= p_sys->i_pcr);
                 if ( i_nzdts <= i_nztime + DEMUX_TRACK_MAX_PRELOAD )
                 {
                     /* Found a better candidate to avoid seeking */



More information about the vlc-commits mailing list