[MPlayer-cvslog] r31036 - trunk/libvo/vo_gl.c

reimar subversion at mplayerhq.hu
Tue Apr 13 07:54:45 CEST 2010


Author: reimar
Date: Tue Apr 13 07:54:44 2010
New Revision: 31036

Log:
Open cutomtex file in binary mode to avoid potential issues on
Windows.

Modified:
   trunk/libvo/vo_gl.c

Modified: trunk/libvo/vo_gl.c
==============================================================================
--- trunk/libvo/vo_gl.c	Tue Apr 13 03:26:20 2010	(r31035)
+++ trunk/libvo/vo_gl.c	Tue Apr 13 07:54:44 2010	(r31036)
@@ -240,7 +240,7 @@ static void update_yuvconv(void) {
   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);


More information about the MPlayer-cvslog mailing list