]> git.sesse.net Git - vlc/commitdiff
xspf writer: forget to increment the source pointer in [22665], that would result...
authorRafaël Carré <funman@videolan.org>
Thu, 18 Oct 2007 20:20:58 +0000 (20:20 +0000)
committerRafaël Carré <funman@videolan.org>
Thu, 18 Oct 2007 20:20:58 +0000 (20:20 +0000)
modules/misc/playlist/xspf.c

index 2be9df5a28fb02525b0df082bf5a327ad344297a..d2bbc8e594992488a230a93f68470fded0d5f285 100644 (file)
@@ -306,6 +306,7 @@ static char *assertUTF8URI( char *psz_name )
         i_delim++; /* skip the ':' */
         strncpy( psz_ret, psz_s, i_delim );
         psz_d = psz_ret + i_delim;
+        psz_s += i_delim;
 
         if( !strncmp( psz_s, "file://", 7 ) )
             b_uri_is_file = VLC_TRUE;