sap: remove no longer necessary seek on error
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 23 Jul 2017 13:57:44 +0000 (16:57 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 23 Jul 2017 14:26:43 +0000 (17:26 +0300)
modules/services_discovery/sap.c

index 9a9f940..7c55691 100644 (file)
@@ -404,7 +404,6 @@ static int OpenDemux( vlc_object_t *p_this )
 error:
     FREENULL( psz_sdp );
     if( p_sdp ) FreeSDP( p_sdp );
-    vlc_stream_Seek( p_demux->s, 0 );
     return errval;
 }