]> git.sesse.net Git - vlc/commitdiff
Compilation warning fix.
authorLaurent Aimar <fenrir@videolan.org>
Fri, 25 May 2007 19:18:50 +0000 (19:18 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Fri, 25 May 2007 19:18:50 +0000 (19:18 +0000)
src/input/input.c

index 570bb8dc53292d57548b530d3bb5354e5ccc516b..d58ae8b15742873373e2d0595501f2c7ebc0c696 100644 (file)
@@ -2280,9 +2280,10 @@ static int InputSourceInit( input_thread_t *p_input,
             char *psz_buf = NULL;
             if( in->p_access->psz_path )
             {
+                const char *psz_a, *psz_d;
                 psz_buf = strdup( in->p_access->psz_path );
-                char *psz_a, *psz_d;
-                MRLSplit( p_input, psz_buf, &psz_a, &psz_d, &psz_real_path );
+                MRLSplit( VLC_OBJECT(p_input), psz_buf,
+                          &psz_a, &psz_d, &psz_real_path );
             }
             else
             {