1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-01 14:50:07 +00:00

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
This commit is contained in:
reimar 2010-04-30 17:12:52 +00:00
parent 992e2d666f
commit ce4d38385c

View File

@ -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);