]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add mode goodies to ilbc
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 22 Feb 2007 21:13:36 +0000 (21:13 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 22 Feb 2007 21:13:36 +0000 (21:13 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4349 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_core.c

index 405d3d913686d4f79ab35a9f42a79d9d1bcf66fe..1020c4173e8c49075ab37d5ae945280ac2e3820a 100644 (file)
@@ -821,7 +821,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_codec_init(switch_codec_t *codec, ch
                return SWITCH_STATUS_GENERR;
        }
 
-       if (mode && strncasecmp(mode, "mode=", 5)) {
+       if (!strcasecmp(codec_name, "ilbc") && mode && strncasecmp(mode, "mode=", 5)) {
                int mms;
                mode += 5;
                if (mode) {