changeset 30994:38a0aa0ac675

Open cutomtex file in binary mode to avoid potential issues on Windows.
author reimar
date Tue, 13 Apr 2010 05:54:44 +0000
parents d3143f6ec4b3
children f036c0d995d5
files libvo/vo_gl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_gl.c	Tue Apr 13 01:26:20 2010 +0000
+++ b/libvo/vo_gl.c	Tue Apr 13 05:54:44 2010 +0000
@@ -240,7 +240,7 @@
   params.chrom_texh = params.texh >> ys;
   glSetupYUVConversion(&params);
   if (custom_prog) {
-    FILE *f = fopen(custom_prog, "r");
+    FILE *f = fopen(custom_prog, "rb");
     if (!f)
       mp_msg(MSGT_VO, MSGL_WARN,
              "[gl] Could not read customprog %s\n", custom_prog);