From ce4d38385c17c13078f987783a6f8e936797d807 Mon Sep 17 00:00:00 2001 From: reimar Date: Fri, 30 Apr 2010 17:12:52 +0000 Subject: 100l, open the customtex also in binary mode, not just the program. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31106 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libvo') diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index c44e21a3e8..3b9b4eb513 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -264,7 +264,7 @@ static void update_yuvconv(void) { texture_width, texture_height); } if (custom_tex) { - FILE *f = fopen(custom_tex, "r"); + FILE *f = fopen(custom_tex, "rb"); if (!f) mp_msg(MSGT_VO, MSGL_WARN, "[gl] Could not read customtex %s\n", custom_tex); -- cgit v1.2.3