Commit 6b264683 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

marq: use vlc_fopen()

parent fdfdfc52
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
#include <vlc_filter.h> #include <vlc_filter.h>
#include <vlc_block.h> #include <vlc_block.h>
#include <vlc_fs.h>
#include <vlc_strings.h> #include <vlc_strings.h>
...@@ -349,7 +350,7 @@ out: ...@@ -349,7 +350,7 @@ out:
static char *ReadFile( filter_t *obj, const char *path ) static char *ReadFile( filter_t *obj, const char *path )
{ {
FILE *stream = fopen( path, "rt" ); FILE *stream = vlc_fopen( path, "rt" );
if( stream == NULL ) if( stream == NULL )
{ {
msg_Err( obj, "cannot open %s: %m", path ); msg_Err( obj, "cannot open %s: %m", path );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment