summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-30 17:12:52 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-30 17:12:52 +0000
commitce4d38385c17c13078f987783a6f8e936797d807 (patch)
treee3459e64446b16cee4ae3e26f053b3f5cdbe0555 /libvo
parent992e2d666f04dda3d4d7c76bb6a8f1d772362e15 (diff)
downloadmpv-ce4d38385c17c13078f987783a6f8e936797d807.tar.bz2
mpv-ce4d38385c17c13078f987783a6f8e936797d807.tar.xz
100l, open the customtex also in binary mode, not just the program.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31106 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 c44e21a3e8..3b9b4eb513 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -264,7 +264,7 @@ static void update_yuvconv(void) {
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);