[Freeswitch-svn] [commit] r3675 - freeswitch/trunk/src/mod/codecs/mod_g729
Freeswitch SVN
anthm at freeswitch.org
Fri Dec 15 13:55:01 EST 2006
Author: anthm
Date: Fri Dec 15 13:55:00 2006
New Revision: 3675
Modified:
freeswitch/trunk/src/mod/codecs/mod_g729/mod_g729.c
Log:
mirror fmtp
Modified: freeswitch/trunk/src/mod/codecs/mod_g729/mod_g729.c
==============================================================================
--- freeswitch/trunk/src/mod/codecs/mod_g729/mod_g729.c (original)
+++ freeswitch/trunk/src/mod/codecs/mod_g729/mod_g729.c Fri Dec 15 13:55:00 2006
@@ -61,6 +61,9 @@
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);
More information about the Freeswitch-svn
mailing list