[vlc-commits] marq: use vlc_fopen()
Rémi Denis-Courmont
git at videolan.org
Thu May 10 19:04:17 CEST 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu May 10 20:04:03 2012 +0300| [6b26468375f1fda8bf3066b53c708f46fe4ba0f1] | committer: Rémi Denis-Courmont
marq: use vlc_fopen()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6b26468375f1fda8bf3066b53c708f46fe4ba0f1
---
modules/video_filter/marq.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/video_filter/marq.c b/modules/video_filter/marq.c
index e15cd79..1420456 100644
--- a/modules/video_filter/marq.c
+++ b/modules/video_filter/marq.c
@@ -36,6 +36,7 @@
#include <vlc_filter.h>
#include <vlc_block.h>
+#include <vlc_fs.h>
#include <vlc_strings.h>
@@ -349,7 +350,7 @@ out:
static char *ReadFile( filter_t *obj, const char *path )
{
- FILE *stream = fopen( path, "rt" );
+ FILE *stream = vlc_fopen( path, "rt" );
if( stream == NULL )
{
msg_Err( obj, "cannot open %s: %m", path );
More information about the vlc-commits
mailing list