vlc | branch: master | Rémi Denis-Courmont <[email protected]> | 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
     {

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to