]> git.sesse.net Git - vlc/blobdiff - modules/stream_out/switcher.c
Release the display mode when we are done with it.
[vlc] / modules / stream_out / switcher.c
index 11a752dca6549d7d714d9c8c53aada26365850a0..929ab9958b6d0c94f3f64360b60a0a087fec6e38 100644 (file)
@@ -39,7 +39,7 @@
 
 #include <vlc_block.h>
 
-#include <vlc_charset.h>
+#include <vlc_fs.h>
 #include <vlc_network.h>
 
 #define HAVE_MMX
@@ -602,7 +602,7 @@ static int UnpackFromFile( sout_stream_t *p_stream, const char *psz_file,
                            picture_t *p_pic )
 {
     int i, j;
-    FILE *p_file = utf8_fopen( psz_file, "r" );
+    FILE *p_file = vlc_fopen( psz_file, "r" );
 
     if ( p_file == NULL )
     {