Commit 99343e4b authored by Tristan Matthews's avatar Tristan Matthews

live555: remove dead fallback for speex

Rate will never be 0 here.
parent 5c3d4712
......@@ -976,11 +976,6 @@ static int SessionsSetup( demux_t *p_demux )
else if( !strcmp( sub->codecName(), "SPEEX" ) )
{
tk->fmt.i_codec = VLC_FOURCC( 's', 'p', 'x', 'r' );
if ( tk->fmt.audio.i_rate == 0 )
{
msg_Warn( p_demux,"Using 8kHz as default sample rate." );
tk->fmt.audio.i_rate = 8000;
}
}
else if( !strcmp( sub->codecName(), "VORBIS" ) )
{
......
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