13 Feb
2007
13 Feb
'07
2:31 a.m.
Author: anthm Date: Mon Feb 12 21:31:17 2007 New Revision: 4219 Modified: freeswitch/trunk/src/mod/formats/mod_sndfile/mod_sndfile.c Log: doh 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 Mon Feb 12 21:31:17 2007 @@ -106,11 +106,10 @@ context->sfinfo.format |= map->format; ready = 1; } - } else if (map) { - ready = 1; + } else { + ready = 0; } - if (!ready) { ready = 1; if (!strcmp(ext, "r8") || !strcmp(ext, "raw")) {