Mercurial > audlegacy-plugins
changeset 2834:b61d7e3837a5
don't need these
author | Andrew O. Shadoura <bugzilla@tut.by> |
---|---|
date | Mon, 14 Jul 2008 01:34:51 +0300 |
parents | 2d17bc7744d8 |
children | f1b6f1b2cdb3 |
files | src/icecast/icecast.c |
diffstat | 1 files changed, 2 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/src/icecast/icecast.c Mon Jul 14 01:25:03 2008 +0300 +++ b/src/icecast/icecast.c Mon Jul 14 01:34:51 2008 +0300 @@ -191,8 +191,7 @@ { shout_close(shout); } - if (outputbuffer) - g_free(outputbuffer); + g_free(outputbuffer); shout_shutdown(); } @@ -404,13 +403,7 @@ if (!length) return length; ret = shout_send(shout, ptr, length); shout_sync(shout); - g_debug("ice_write[%d:%d](", ret, length); - { - gint i; - for (i = 0; (i < length) && (i < 16); i++) - g_debug("%c", g_ascii_isprint(((char*)ptr)[i])?(((char*)ptr)[i]):'.'); - } - g_debug(")"); + g_debug("ice_write[%d:%d]", ret, length); return 0; }