[MPlayer-dev-eng] [PATCH] Use !isspace() to replace isalnum() in finding subtitle files
zuxy.meng at gmail.com
Sun Jan 10 14:52:55 CET 2010
2010/1/7 Zuxy Meng <zuxy.meng at gmail.com>:
> East asian countries represent their language using MBCS, and
> characters in that range fail all of iscntrl(c), isblank(c),
> isgraph(c), isalnum(c), isprint(c), isspace(c) and ispunct(c), so if
> the filename of a video clip contains only such characters, mplayer
> will load for it all subtitles under the same directory. The attached
> patch fixes it by using negative match instead of the positive one.
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6
More information about the MPlayer-dev-eng