sub autoloading fix for windows

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11063 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
faust3 2003-10-09 18:47:16 +00:00
parent fbc2de7ef4
commit aad5b2475b
1 changed files with 3 additions and 0 deletions

View File

@ -1674,6 +1674,9 @@ char** sub_filenames(char* path, char *fname)
subcnt = 0;
tmp = strrchr(fname,'/');
#ifdef WIN32
if(!tmp)tmp = strrchr(fname,'\\');
#endif
// extract filename & dirname from fname
if (tmp) {