summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-04-26 18:37:56 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-04-26 18:38:11 +0300
commit8df340271e868252e7398307e126ea12083d426b (patch)
tree0380f4e6e3b8ad983b35db712c5d1da609f15e7d /libvo
parentb4c7b7ce1142e676bd082952b12713bcc5f3203e (diff)
parent12d6f6b378872ca4c06a268dc33c4e045f4966e4 (diff)
downloadmpv-8df340271e868252e7398307e126ea12083d426b.tar.bz2
mpv-8df340271e868252e7398307e126ea12083d426b.tar.xz
Merge svn changes up to r31040
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 b97b376bac..5babb180b3 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -256,7 +256,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);