]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Possessive codecs
authorBrian West <brian@freeswitch.org>
Mon, 1 Sep 2008 04:43:57 +0000 (04:43 +0000)
committerBrian West <brian@freeswitch.org>
Mon, 1 Sep 2008 04:43:57 +0000 (04:43 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9390 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_core_codec.c

index 5ce0cca410e34e8741d198d4c290e88253d6b71b..8d098cc1743be551ca596e37484f0e3234987ab5 100644 (file)
@@ -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;
        }