]> git.sesse.net Git - vlc/commitdiff
Use the filename passed and not the configuration file.
authorJean-Paul Saman <jpsaman@videolan.org>
Wed, 14 Nov 2007 15:18:12 +0000 (15:18 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Wed, 14 Nov 2007 15:18:12 +0000 (15:18 +0000)
modules/misc/osd/osd_menu.c
modules/misc/osd/osd_menu.h

index 95743e49da4fd19dceaf1c458898db1ad6405d3f..db3a4033be45d22ee92bc41d59bdff434e03086b 100644 (file)
@@ -216,7 +216,7 @@ osd_state_t *osd_StateNew( osd_menu_t *p_menu, const char *psz_file,
     fmt_out.i_chroma = VLC_FOURCC('Y','U','V','A');
     if( p_menu->p_image )
     {
-        p_state->p_pic = image_ReadUrl( p_menu->p_image, p_menu->psz_file,
+        p_state->p_pic = image_ReadUrl( p_menu->p_image, psz_file,
                                         &fmt_in, &fmt_out );
     }
 
index 3384635506b270e2910e3aa54110e2b37294f6cf..8e8f46669fe4b2d89b81371dc45ed000f93f44b3 100644 (file)
@@ -36,4 +36,3 @@ void osd_ButtonFree( osd_menu_t *, osd_button_t * );
 void osd_StatesFree( osd_menu_t *, osd_state_t * );
 
 #endif
-