[commit] r11698 - freeswitch/trunk/src/mod/formats/mod_sndfile
Author: anthm Date: Sun Feb 8 18:51:42 2009 New Revision: 11698 Log: MODFORM-23 Modified: freeswitch/trunk/src/mod/formats/mod_sndfile/mod_sndfile.c Modified: freeswitch/trunk/src/mod/formats/mod_sndfile/mod_sndfile.c ============================================================================== --- freeswitch/trunk/src/mod/formats/mod_sndfile/mod_sndfile.c (original) +++ freeswitch/trunk/src/mod/formats/mod_sndfile/mod_sndfile.c Sun Feb 8 18:51:42 2009 @@ -66,7 +66,11 @@ size_t alt_len = 0; int rates[4] = {8000, 16000, 32000, 48000}; int i; +#ifdef WIN32 + char ps[2] = {'\\', '/'}; +#else char ps[2] = {'/', '\\'}; +#endif int x; if ((ext = strrchr(path, '.')) == 0) { @@ -175,9 +179,6 @@ } } } -#ifndef WIN32 - break; -#endif } if (!context->handle) {
participants (1)
-
FreeSWITCH SVN