changeset 31064:7d174bdfcd9a

100l, open the customtex also in binary mode, not just the program.
author reimar
date Fri, 30 Apr 2010 17:12:52 +0000
parents 55cd4161425a
children 7fb89ca1891c
files libvo/vo_gl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_gl.c	Wed Apr 28 11:57:09 2010 +0000
+++ b/libvo/vo_gl.c	Fri Apr 30 17:12:52 2010 +0000
@@ -264,7 +264,7 @@
                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);