]> git.sesse.net Git - vlc/blobdiff - src/input/input_internal.h
Retain certain flags from input_ItemAddOpt
[vlc] / src / input / input_internal.h
index 93c67d1565561ae60779544798ab9db40623658c..cfc746a3a1efe8da408b0fc0ac26140831e24a55 100644 (file)
@@ -226,6 +226,7 @@ static inline void input_ItemInit( vlc_object_t *p_o, input_item_t *p_i )
     p_i->psz_uri = NULL;
     TAB_INIT( p_i->i_es, p_i->es );
     TAB_INIT( p_i->i_options, p_i->ppsz_options );
+    p_i->optflagv = NULL, p_i->optflagc = 0;
     TAB_INIT( p_i->i_categories, p_i->pp_categories );
 
     p_i->i_type = ITEM_TYPE_UNKNOWN;
@@ -422,10 +423,9 @@ static inline void input_ChangeState( input_thread_t *p_input, int state )
 
 /* Access */
 
-#define access2_New( a, b, c, d, e ) __access2_New(VLC_OBJECT(a), b, c, d, e )
+#define access2_New( a, b, c, d ) __access2_New(VLC_OBJECT(a), b, c, d )
 access_t * __access2_New( vlc_object_t *p_obj, const char *psz_access,
-                          const char *psz_demux, const char *psz_path,
-                          vlc_bool_t b_quick );
+                          const char *psz_demux, const char *psz_path );
 access_t * access2_FilterNew( access_t *p_source,
                               const char *psz_access_filter );
 void access2_Delete( access_t * );