vlc | branch: master | Steve Lhomme <[email protected]> | Wed Oct  9 10:32:52 
2019 +0200| [af9b0a64bf863efae61f3c1feee34732a15d7791] | committer: Steve Lhomme

direct3d9: use vlc_fdopen instead of fpopen

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=af9b0a64bf863efae61f3c1feee34732a15d7791
---

 modules/video_output/win32/direct3d9.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/win32/direct3d9.c 
b/modules/video_output/win32/direct3d9.c
index 04c75e4fd5..74eb80748f 100644
--- a/modules/video_output/win32/direct3d9.c
+++ b/modules/video_output/win32/direct3d9.c
@@ -840,7 +840,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

Reply via email to