From: Brian West Date: Mon, 1 Sep 2008 04:43:57 +0000 (+0000) Subject: Possessive codecs X-Git-Tag: v1.0.2~1353 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cb6068abaa7a8aff22d378d8ada41b344a3c852;p=thirdparty%2Ffreeswitch.git Possessive codecs git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9390 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_core_codec.c b/src/switch_core_codec.c index 5ce0cca410..8d098cc174 100644 --- a/src/switch_core_codec.c +++ b/src/switch_core_codec.c @@ -55,7 +55,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_set_read_codec(switch_core_s char tmp[30]; if (codec && !codec->implementation) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Cannot set ININITILIZED codec!\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Cannot set INITIALIZED codec!\n"); return SWITCH_STATUS_FALSE; } @@ -363,7 +363,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_codec_encode(switch_codec_t *codec, } if (!switch_test_flag(codec, SWITCH_CODEC_FLAG_ENCODE)) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Codec's encoder is not initialized!\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Codec encoder is not initialized!\n"); return SWITCH_STATUS_GENERR; } @@ -388,7 +388,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_codec_decode(switch_codec_t *codec, } if (!switch_test_flag(codec, SWITCH_CODEC_FLAG_DECODE)) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Codec's decoder is not initialized!\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Codec decoder is not initialized!\n"); return SWITCH_STATUS_GENERR; }