summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-13 05:54:44 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-13 05:54:44 +0000
commit3158a326fe31cc7b84e2c23c61266d50744aaf1d (patch)
treeb171fe9f87560e82bf16a3b4c5686c9dde7d7e78 /libvo
parent8a70b9ad85eb4e8942dc6f70a4450b9bb24d98b2 (diff)
downloadmpv-3158a326fe31cc7b84e2c23c61266d50744aaf1d.tar.bz2
mpv-3158a326fe31cc7b84e2c23c61266d50744aaf1d.tar.xz
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
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_gl.c2
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(&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);