[vlc-commits] [Git][videolan/vlc][3.0.x] demux: mp4: fix fragmented demux false warning

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Fri Mar 27 11:40:39 UTC 2026



Felix Paul Kühne pushed to branch 3.0.x at VideoLAN / VLC


Commits:
9e355fca by François Cartegnie at 2026-03-27T12:18:43+01:00
demux: mp4: fix fragmented demux false warning

(cherry picked from commit 0830f5c4e1b0cff49553608a3551c4b6513cf69f)

- - - - -


1 changed file:

- modules/demux/mp4/mp4.c


Changes:

=====================================
modules/demux/mp4/mp4.c
=====================================
@@ -5120,7 +5120,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/9e355fca337080e3c9ecb68b7a08eb6af86473b0

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




More information about the vlc-commits mailing list