[vlc-commits] [Git][videolan/vlc][master] demux: mp4: fix fragmented demux false warning

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed May 24 12:52:26 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
0830f5c4 by Francois Cartegnie at 2023-05-24T12:34:11+00:00
demux: mp4: fix fragmented demux false warning

- - - - -


1 changed file:

- modules/demux/mp4/mp4.c


Changes:

=====================================
modules/demux/mp4/mp4.c
=====================================
@@ -5491,7 +5491,7 @@ static int DemuxFrag( demux_t *p_demux )
             {
                 if( i_pos > p_sys->context.i_post_mdat_offset )
                     msg_Err( p_demux, " Overread mdat by %" PRIu64, i_pos - p_sys->context.i_post_mdat_offset );
-                else
+                else if( !p_sys->b_seekable )
                     msg_Warn( p_demux, "mdat had still %"PRIu64" bytes unparsed as samples",
                                         p_sys->context.i_post_mdat_offset - i_pos );
                 if( MP4_Seek( p_demux->s, p_sys->context.i_post_mdat_offset ) != VLC_SUCCESS )



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/0830f5c4e1b0cff49553608a3551c4b6513cf69f

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/0830f5c4e1b0cff49553608a3551c4b6513cf69f
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