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

libmp4: fix 'mfhd' parsing

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent b3e61d25
......@@ -490,6 +490,8 @@ static int MP4_ReadBox_mfhd( stream_t *p_stream, MP4_Box_t *p_box )
{
MP4_READBOX_ENTER( MP4_Box_data_mfhd_t );
MP4_GETVERSIONFLAGS( p_box->data.p_mvhd );
MP4_GET4BYTES( p_box->data.p_mfhd->i_sequence_number );
#ifdef MP4_VERBOSE
......
......@@ -832,9 +832,10 @@ typedef struct
typedef struct MP4_Box_data_mfhd_s
{
uint32_t i_sequence_number;
uint8_t i_version;
uint32_t i_flags;
uint8_t *p_vendor_extension;
uint32_t i_sequence_number;
} MP4_Box_data_mfhd_t;
......
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