[vlc-commits] live555: remove dead fallback for speex
Tristan Matthews
git at videolan.org
Mon Jan 12 23:17:59 CET 2015
vlc | branch: master | Tristan Matthews <tmatth at videolan.org> | Mon Jan 12 12:58:17 2015 -0500| [99343e4b5247af15501305c2f6d2061baa35f73b] | committer: Tristan Matthews
live555: remove dead fallback for speex
Rate will never be 0 here.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=99343e4b5247af15501305c2f6d2061baa35f73b
---
modules/access/live555.cpp | 5 -----
1 file changed, 5 deletions(-)
diff --git a/modules/access/live555.cpp b/modules/access/live555.cpp
index 3423f82..d49fc6d 100644
--- a/modules/access/live555.cpp
+++ b/modules/access/live555.cpp
@@ -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" ) )
{
More information about the vlc-commits
mailing list