Commit 41971be0 authored by Laurent Aimar's avatar Laurent Aimar

Fixed object type parsing in mpeg4 audio.

parent 7d784bfa
......@@ -498,8 +498,8 @@ static int Mpeg4GASpecificConfig( mpeg4_cfg_t *p_cfg, bs_t *s )
static int Mpeg4ReadAudioObjectType( bs_t *s )
{
int i_type = bs_read( s, 5 );
if( i_type == 0x1f )
i_type += bs_read( s, 6 );
if( i_type == 31 )
i_type = 32 + bs_read( s, 6 );
return i_type;
}
......
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