[Freeswitch-svn] [commit] r4342 - freeswitch/trunk/src/mod/codecs/mod_ilbc

Freeswitch SVN anthm at freeswitch.org
Wed Feb 21 12:59:09 EST 2007


Author: anthm
Date: Wed Feb 21 12:59:08 2007
New Revision: 4342

Modified:
   freeswitch/trunk/src/mod/codecs/mod_ilbc/mod_ilbc.c

Log:
make ilbc fail the call when the frame is wrong

Modified: freeswitch/trunk/src/mod/codecs/mod_ilbc/mod_ilbc.c
==============================================================================
--- freeswitch/trunk/src/mod/codecs/mod_ilbc/mod_ilbc.c	(original)
+++ freeswitch/trunk/src/mod/codecs/mod_ilbc/mod_ilbc.c	Wed Feb 21 12:59:08 2007
@@ -178,6 +178,7 @@
 		}
 	} else {
 		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "yo this frame is an odd size [%d]\n", encoded_data_len);
+		return SWITCH_STATUS_FALSE;
 	}
 	return SWITCH_STATUS_SUCCESS;
 }



More information about the Freeswitch-svn mailing list