]> git.sesse.net Git - vlc/blobdiff - modules/demux/livedotcom.cpp
* modules/demux/*: removed useless probing messages.
[vlc] / modules / demux / livedotcom.cpp
index 127eb4ddd7adc59cf39a10026b65a0a85d0099d3..8db98859e1e79659b6c9c4e08d803945da778a18 100644 (file)
@@ -193,16 +193,12 @@ static int  Open ( vlc_object_t *p_this )
     {
         /* See if it looks like a SDP
            v, o, s fields are mandatory and in this order */
-        if( stream_Peek( p_demux->s, &p_peek, 7 ) < 7 )
-        {
-            msg_Err( p_demux, "cannot peek" );
-            return VLC_EGENERIC;
-        }
+        if( stream_Peek( p_demux->s, &p_peek, 7 ) < 7 ) return VLC_EGENERIC;
+
         if( strncmp( (char*)p_peek, "v=0\r\n", 5 ) &&
             strncmp( (char*)p_peek, "v=0\n", 4 ) &&
             ( p_peek[0] < 'a' || p_peek[0] > 'z' || p_peek[1] != '=' ) )
         {
-            msg_Warn( p_demux, "SDP module discarded" );
             return VLC_EGENERIC;
         }
     }