vlc | branch: master | Steve Lhomme <[email protected]> | Wed Oct 9 10:32:52 2019 +0200| [1f84299ae7d871b58032055abea387dff09dd4bc] | committer: Steve Lhomme
direct3d9: use vlc_fdopen instead of fpopen > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1f84299ae7d871b58032055abea387dff09dd4bc --- modules/video_output/win32/direct3d9.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/video_output/win32/direct3d9.c b/modules/video_output/win32/direct3d9.c index 04c75e4fd5..5e8d1d3d18 100644 --- a/modules/video_output/win32/direct3d9.c +++ b/modules/video_output/win32/direct3d9.c @@ -42,6 +42,7 @@ #include <vlc_common.h> #include <vlc_plugin.h> #include <vlc_vout_display.h> +#include <vlc_fs.h> #include <vlc/libvlc.h> #include <vlc/libvlc_picture.h> @@ -840,7 +841,7 @@ static int Direct3D9CreateShaders(vout_display_t *vd) goto error; } /* Open file, find its size with fseek/ftell and read its content in a buffer. */ - fs = fopen(filepath, "rb"); + fs = vlc_fopen(filepath, "rb"); if (!fs) goto error; int ret = fseek(fs, 0, SEEK_END); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
