[Freeswitch-svn] [commit] r4219 - freeswitch/trunk/src/mod/formats/mod_sndfile

Freeswitch SVN anthm at freeswitch.org
Mon Feb 12 21:31:17 EST 2007


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")) {



More information about the Freeswitch-svn mailing list