[vlc-commits] caf: remove redundant seek on error
    Rémi Denis-Courmont 
    git at videolan.org
       
    Thu May  3 18:39:00 CEST 2018
    
    
  
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu May  3 19:34:55 2018 +0300| [c8874585fb4782a0958320fac8104e01d1591f05] | committer: Rémi Denis-Courmont
caf: remove redundant seek on error
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c8874585fb4782a0958320fac8104e01d1591f05
---
 modules/demux/caf.c | 5 -----
 1 file changed, 5 deletions(-)
diff --git a/modules/demux/caf.c b/modules/demux/caf.c
index ce61bbcf71..78eaa22e2e 100644
--- a/modules/demux/caf.c
+++ b/modules/demux/caf.c
@@ -909,11 +909,6 @@ caf_open_end:
     {
         es_format_Clean( &p_sys->fmt );
         free( p_sys  );
-
-        if( vlc_stream_Seek( p_demux->s, 0 ))
-        {
-            msg_Warn(p_demux, "Could not reset stream position to 0.");
-        }
     }
     else
     {
    
    
More information about the vlc-commits
mailing list