[Freeswitch-svn] [commit] r9679 - freeswitch/trunk/src/mod/formats/mod_shout

Freeswitch SVN anthm at freeswitch.org
Sat Sep 27 14:28:32 EDT 2008


Author: anthm
Date: Sat Sep 27 14:28:31 2008
New Revision: 9679

Modified:
   freeswitch/trunk/src/mod/formats/mod_shout/mod_shout.c

Log:
remove code

Modified: freeswitch/trunk/src/mod/formats/mod_shout/mod_shout.c
==============================================================================
--- freeswitch/trunk/src/mod/formats/mod_shout/mod_shout.c	(original)
+++ freeswitch/trunk/src/mod/formats/mod_shout/mod_shout.c	Sat Sep 27 14:28:31 2008
@@ -289,18 +289,6 @@
 			} else if (decode_status == MPG123_OK) {
 				usedlen = dlen;
 				break;
-				if (context->audio_buffer) {
-					switch_buffer_write(context->audio_buffer, context->decode_buf, usedlen);
-				} else {
-					goto error;
-				}
-
-				out = context->decode_buf;
-				outlen = sizeof(context->decode_buf);
-				usedlen = 0;
-				
-				continue;
-				
 			} else if (decode_status == MPG123_DONE) {
 				context->eof++;
 				goto end;



More information about the Freeswitch-svn mailing list