[vlc-commits] demux: mp4: point to atom's position of base offset is moov (fix #11746)

Francois Cartegnie git at videolan.org
Thu Aug 14 10:42:41 CEST 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Aug 14 17:38:45 2014 +0900| [4fe0751b76f43b9b0ac6aab34319a94e498536cd] | committer: Francois Cartegnie

demux: mp4: point to atom's position of base offset is moov (fix #11746)

Not so common flags, lack of samples.
Unsure if it doesn't break something else.

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

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

diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index bd22380..94fd6d2 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -4540,7 +4540,7 @@ static bool AddFragment( demux_t *p_demux, MP4_Box_t *p_moox )
         }
         else if ( BOXDATA(p_tfhd)->i_flags & MP4_TFHD_DEFAULT_BASE_IS_MOOF )
         {
-            i_traf_base_data_offset = p_new->p_moox->i_pos + 8;
+            i_traf_base_data_offset = p_new->p_moox->i_pos /* + 8*/;
         }
         else
         {



More information about the vlc-commits mailing list