Commit ca15b15b authored by F. Yhuel's avatar F. Yhuel Committed by Jean-Baptiste Kempf

demux/mp4: bug fix in trun atom parsing

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent a0aa05f2
...@@ -550,7 +550,7 @@ static int MP4_ReadBox_trun( stream_t *p_stream, MP4_Box_t *p_box ) ...@@ -550,7 +550,7 @@ static int MP4_ReadBox_trun( stream_t *p_stream, MP4_Box_t *p_box )
MP4_GET4BYTES( p_box->data.p_trun->i_sample_count ); MP4_GET4BYTES( p_box->data.p_trun->i_sample_count );
if( p_box->data.p_trun->i_flags & MP4_TRUN_DATA_OFFSET ) if( p_box->data.p_trun->i_flags & MP4_TRUN_DATA_OFFSET )
MP4_GET8BYTES( p_box->data.p_trun->i_data_offset ); MP4_GET4BYTES( p_box->data.p_trun->i_data_offset );
if( p_box->data.p_trun->i_flags & MP4_TRUN_FIRST_FLAGS ) if( p_box->data.p_trun->i_flags & MP4_TRUN_FIRST_FLAGS )
MP4_GET4BYTES( p_box->data.p_trun->i_first_sample_flags ); MP4_GET4BYTES( p_box->data.p_trun->i_first_sample_flags );
......
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