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

Francois Cartegnie git at videolan.org
Fri Aug 15 20:39:26 CEST 2014


vlc/vlc-2.2 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Aug 14 17:38:45 2014 +0900| [7058b549c2cfdf0b4d7241489c16a0a785ace459] | committer: Jean-Baptiste Kempf

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.

(cherry picked from commit 4fe0751b76f43b9b0ac6aab34319a94e498536cd)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 edc37d9..dc45952 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