On Thu, Apr 29, 2010 at 02:54:47PM +0800, Paul Jowett wrote: > >>Especially when trying to get mplayer > >>to work with customtex files on Windows ("[gl] Error parsing > >>customtex" is a problem from vo_gl.c). > > > >What format is the customtex file in? > >EIther way it might be fixed. > > > I found the problem with loading the customtex file under Windows: > the vo_gl.c code opens the custom tex file (which I presume will > almost always be an image file) but doesn't specify binary mode: > > FILE *f = fopen(custom_tex, "r"); > > Changing this to > > FILE *f = fopen(custom_tex, "rb"); I already had done this when I wrote above reply, which is why I wrote "Either way it might be fixed."