]> git.sesse.net Git - vlc/commitdiff
goom: build fixes
authorPierre Ynard <linkfanel@yahoo.fr>
Mon, 18 Jan 2010 19:48:47 +0000 (20:48 +0100)
committerPierre Ynard <linkfanel@yahoo.fr>
Mon, 18 Jan 2010 19:48:47 +0000 (20:48 +0100)
modules/visualization/goom.c

index d7c6d036a7f251d157dba27939d68f82d7b7d94f..4efc11b366e5bfe8ea90288eb73268c6613a37a0 100644 (file)
@@ -36,6 +36,7 @@
 #include <vlc_block.h>
 #include <vlc_input.h>
 #include <vlc_filter.h>
+#include <vlc_playlist.h>
 
 #ifdef USE_GOOM_TREE
 #   ifdef OLD_GOOM
@@ -423,7 +424,7 @@ static char *TitleGet( vlc_object_t *p_this )
         free( psz_title );
 
         char *psz_uri = input_item_GetURI( input_GetItem( p_input ) );
-        const char *psz = strrchr( psz_orig, '/' );
+        const char *psz = strrchr( psz_uri, '/' );
         if( psz )
         {
             psz_title = strdup( psz + 1 );