# HG changeset patch # User reimar # Date 1272647572 0 # Node ID 7d174bdfcd9aea41509a28ac1141537e735ff661 # Parent 55cd4161425a2c011b2c2a0132e1204a3f5dddaf 100l, open the customtex also in binary mode, not just the program. diff -r 55cd4161425a -r 7d174bdfcd9a libvo/vo_gl.c --- 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);