[vlc-commits] mod: remove seek on error

Rémi Denis-Courmont git at videolan.org
Sun Jul 23 16:53:43 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 23 16:47:50 2017 +0300| [ecb4023e067b4c1a97b427528107781e50bde9a6] | committer: Rémi Denis-Courmont

mod: remove seek on error

This was semi-broken and is no longer necessary.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ecb4023e067b4c1a97b427528107781e50bde9a6
---

 modules/demux/mod.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/demux/mod.c b/modules/demux/mod.c
index 1bc89b77b2..73bf7be4a8 100644
--- a/modules/demux/mod.c
+++ b/modules/demux/mod.c
@@ -215,8 +215,6 @@ static int Open( vlc_object_t *p_this )
     if( !p_sys->f )
     {
         msg_Err( p_demux, "failed to understand the file" );
-        /* we try to seek to recover for other plugin */
-        vlc_stream_Seek( p_demux->s, 0 );
         free( p_sys->p_data );
         free( p_sys );
         return VLC_EGENERIC;



More information about the vlc-commits mailing list