Commit 7058b549 authored by Francois Cartegnie's avatar Francois Cartegnie Committed by 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: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 2c5ecf11
...@@ -4540,7 +4540,7 @@ static bool AddFragment( demux_t *p_demux, MP4_Box_t *p_moox ) ...@@ -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 ) 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 else
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment