]> git.sesse.net Git - vlc/blobdiff - modules/access/zip/zipaccess.c
Zip: don't use hacks but rewrite the path.
[vlc] / modules / access / zip / zipaccess.c
index a30e69640cb06aca9d51023b51a5fd030e5eb0c8..d60f3dcb84a4f6c37c394d47b75551538c3c8926 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * zipaccess.c: Module (access) to extract different archives, based on zlib
  *****************************************************************************
- * Copyright (C) 2007 the VideoLAN team
+ * Copyright (C) 2009 the VideoLAN team
  * $Id$
  *
  * Authors: Jean-Philippe AndrĂ© <jpeg@videolan.org>
@@ -155,7 +155,6 @@ void AccessClose( vlc_object_t *p_this )
         free( p_sys->fileFunctions );
         free( p_sys );
     }
-    var_Destroy( p_access, "zip-no-xspf" );
 }
 
 /** **************************************************************************
@@ -164,7 +163,6 @@ void AccessClose( vlc_object_t *p_this )
 static int AccessControl( access_t *p_access, int i_query, va_list args )
 {
     bool         *pb_bool;
-    int          *pi_int;
     int64_t      *pi_64;
 
     switch( i_query )
@@ -182,12 +180,6 @@ static int AccessControl( access_t *p_access, int i_query, va_list args )
             *pb_bool = false;
             break;
 
-        /* */
-        case ACCESS_GET_MTU:
-            pi_int = (int*)va_arg( args, int * );
-            *pi_int = 0;
-            break;
-
         case ACCESS_GET_PTS_DELAY:
             pi_64 = (int64_t*)va_arg( args, int64_t * );
             *pi_64 = DEFAULT_PTS_DELAY;