]> git.sesse.net Git - vlc/commitdiff
live555: remove dead fallback for speex
authorTristan Matthews <tmatth@videolan.org>
Mon, 12 Jan 2015 17:58:17 +0000 (12:58 -0500)
committerTristan Matthews <tmatth@videolan.org>
Mon, 12 Jan 2015 22:14:02 +0000 (17:14 -0500)
Rate will never be 0 here.

modules/access/live555.cpp

index 3423f82ffa825f06d103a022c077a0a3fbed2235..d49fc6d3f2126b96236ce350f4664554967aa28e 100644 (file)
@@ -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" ) )
                 {