From: Anthony Minessale Date: Fri, 15 Dec 2006 18:55:00 +0000 (+0000) Subject: mirror fmtp X-Git-Tag: v1.0-beta1~1561 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=095cb4b14424815f1d2391de54507e16e44485a8;p=thirdparty%2Ffreeswitch.git mirror fmtp git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3675 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/codecs/mod_g729/mod_g729.c b/src/mod/codecs/mod_g729/mod_g729.c index 332f2b18a2..34f75561f8 100644 --- a/src/mod/codecs/mod_g729/mod_g729.c +++ b/src/mod/codecs/mod_g729/mod_g729.c @@ -61,6 +61,9 @@ static switch_status_t switch_g729_init(switch_codec_t *codec, switch_codec_flag if (!(encoding || decoding) || (!(context = switch_core_alloc(codec->memory_pool, sizeof(struct g729_context))))) { return SWITCH_STATUS_FALSE; } else { + if (codec->fmtp_in) { + codec->fmtp_out = switch_core_strdup(codec->memory_pool, codec->fmtp_in); + } if (encoding) { g729_init_coder(&context->encoder_object, 0);