Commit 70180182 authored by Sébastien Escudier's avatar Sébastien Escudier

remove useless assignment

parent cd8f993a
...@@ -953,9 +953,7 @@ static int SessionsSetup( demux_t *p_demux ) ...@@ -953,9 +953,7 @@ static int SessionsSetup( demux_t *p_demux )
else if( !strcmp( sub->codecName(), "SPEEX" ) ) else if( !strcmp( sub->codecName(), "SPEEX" ) )
{ {
tk->fmt.i_codec = VLC_FOURCC( 's', 'p', 'x', 'r' ); tk->fmt.i_codec = VLC_FOURCC( 's', 'p', 'x', 'r' );
if ( sub->rtpTimestampFrequency() ) if ( tk->fmt.audio.i_rate == 0 )
tk->fmt.audio.i_rate = sub->rtpTimestampFrequency();
else
{ {
msg_Warn( p_demux,"Using 8kHz as default sample rate." ); msg_Warn( p_demux,"Using 8kHz as default sample rate." );
tk->fmt.audio.i_rate = 8000; tk->fmt.audio.i_rate = 8000;
......
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