Commit 9769a897 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Ahum.. compile before you commit...

parent 0f1e1ce1
...@@ -489,13 +489,13 @@ static int Open ( vlc_object_t *p_this ) ...@@ -489,13 +489,13 @@ static int Open ( vlc_object_t *p_this )
else if( !strncmp( sub->codecName(), "G726", 4 ) ) else if( !strncmp( sub->codecName(), "G726", 4 ) )
{ {
tk->fmt.i_codec = VLC_FOURCC( 'g', '7', '2', '6' ); tk->fmt.i_codec = VLC_FOURCC( 'g', '7', '2', '6' );
if( !strcmp( sub->codecName()+5, "40" ) if( !strcmp( sub->codecName()+5, "40" ) )
tk->fmt.audio.i_bitspersample = 5; tk->fmt.audio.i_bitspersample = 5;
else if( !strcmp( sub->codecName()+5, "32" ) else if( !strcmp( sub->codecName()+5, "32" ) )
tk->fmt.audio.i_bitspersample = 4; tk->fmt.audio.i_bitspersample = 4;
else if( !strcmp( sub->codecName()+5, "24" ) else if( !strcmp( sub->codecName()+5, "24" ) )
tk->fmt.audio.i_bitspersample = 3; tk->fmt.audio.i_bitspersample = 3;
else if( !strcmp( sub->codecName()+5, "16" ) else if( !strcmp( sub->codecName()+5, "16" ) )
tk->fmt.audio.i_bitspersample = 2; tk->fmt.audio.i_bitspersample = 2;
} }
else if( !strcmp( sub->codecName(), "AMR" ) ) else if( !strcmp( sub->codecName(), "AMR" ) )
......
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