Commit 6422c02e authored by Francois Cartegnie's avatar Francois Cartegnie

demux: mp4: name field

parent de39696d
...@@ -1636,7 +1636,7 @@ static int MP4_ReadBox_sample_soun( stream_t *p_stream, MP4_Box_t *p_box ) ...@@ -1636,7 +1636,7 @@ static int MP4_ReadBox_sample_soun( stream_t *p_stream, MP4_Box_t *p_box )
MP4_GET2BYTES( p_box->data.p_sample_soun->i_channelcount ); MP4_GET2BYTES( p_box->data.p_sample_soun->i_channelcount );
MP4_GET2BYTES( p_box->data.p_sample_soun->i_samplesize ); MP4_GET2BYTES( p_box->data.p_sample_soun->i_samplesize );
MP4_GET2BYTES( p_box->data.p_sample_soun->i_predefined ); MP4_GET2BYTES( p_box->data.p_sample_soun->i_compressionid );
MP4_GET2BYTES( p_box->data.p_sample_soun->i_reserved3 ); MP4_GET2BYTES( p_box->data.p_sample_soun->i_reserved3 );
MP4_GET2BYTES( p_box->data.p_sample_soun->i_sampleratehi ); MP4_GET2BYTES( p_box->data.p_sample_soun->i_sampleratehi );
MP4_GET2BYTES( p_box->data.p_sample_soun->i_sampleratelo ); MP4_GET2BYTES( p_box->data.p_sample_soun->i_sampleratelo );
...@@ -1671,7 +1671,7 @@ static int MP4_ReadBox_sample_soun( stream_t *p_stream, MP4_Box_t *p_box ) ...@@ -1671,7 +1671,7 @@ static int MP4_ReadBox_sample_soun( stream_t *p_stream, MP4_Box_t *p_box )
/* Checks */ /* Checks */
if ( p_box->data.p_sample_soun->i_channelcount != 0x3 || if ( p_box->data.p_sample_soun->i_channelcount != 0x3 ||
p_box->data.p_sample_soun->i_samplesize != 0x0010 || p_box->data.p_sample_soun->i_samplesize != 0x0010 ||
p_box->data.p_sample_soun->i_predefined != 0xFFFE || p_box->data.p_sample_soun->i_compressionid != 0xFFFE ||
p_box->data.p_sample_soun->i_reserved3 != 0x0 || p_box->data.p_sample_soun->i_reserved3 != 0x0 ||
p_box->data.p_sample_soun->i_sampleratehi != 0x1 ||//65536 p_box->data.p_sample_soun->i_sampleratehi != 0x1 ||//65536
p_box->data.p_sample_soun->i_sampleratelo != 0x0 ) //remainder p_box->data.p_sample_soun->i_sampleratelo != 0x0 ) //remainder
......
...@@ -497,7 +497,7 @@ typedef struct MP4_Box_data_sample_soun_s ...@@ -497,7 +497,7 @@ typedef struct MP4_Box_data_sample_soun_s
uint16_t i_channelcount; uint16_t i_channelcount;
uint16_t i_samplesize; uint16_t i_samplesize;
uint16_t i_predefined; uint16_t i_compressionid;
uint16_t i_reserved3; uint16_t i_reserved3;
uint16_t i_sampleratehi; /* timescale of track */ uint16_t i_sampleratehi; /* timescale of track */
uint16_t i_sampleratelo; uint16_t i_sampleratelo;
......
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