diff options
author | 2010-04-13 05:54:44 +0000 | |
---|---|---|
committer | 2010-04-13 05:54:44 +0000 | |
commit | 3158a326fe31cc7b84e2c23c61266d50744aaf1d (patch) | |
tree | b171fe9f87560e82bf16a3b4c5686c9dde7d7e78 | |
parent | 8a70b9ad85eb4e8942dc6f70a4450b9bb24d98b2 (diff) |
Open cutomtex file in binary mode to avoid potential issues on
Windows.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31036 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libvo/vo_gl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index 6c80eeddfc..b2e74c7bf7 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -240,7 +240,7 @@ static void update_yuvconv(void) { params.chrom_texh = params.texh >> ys; glSetupYUVConversion(¶ms); 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); |