[Freeswitch-svn] [commit] r8168 - freeswitch/trunk/src/mod/codecs/mod_amr
Freeswitch SVN
brian at freeswitch.org
Tue Apr 22 10:13:00 EDT 2008
Author: brian
Date: Tue Apr 22 10:12:59 2008
New Revision: 8168
Modified:
freeswitch/trunk/src/mod/codecs/mod_amr/mod_amr.c
Log:
fix compile
Modified: freeswitch/trunk/src/mod/codecs/mod_amr/mod_amr.c
==============================================================================
--- freeswitch/trunk/src/mod/codecs/mod_amr/mod_amr.c (original)
+++ freeswitch/trunk/src/mod/codecs/mod_amr/mod_amr.c Tue Apr 22 10:12:59 2008
@@ -103,7 +103,7 @@
void *decoder_state;
switch_byte_t enc_modes;
switch_byte_t enc_mode;
- switch_int_t dtx_mode;
+ int dtx_mode;
uint32_t change_period;
switch_byte_t max_ptime;
switch_byte_t ptime;
@@ -188,7 +188,7 @@
context->enc_modes |= (1 << atoi(m_argv[y]));
}
} else if (!strcasecmp(data, "dtx")) {
- context->dtx_mode = if (atoi(arg)) ? AMR_DTX_ENABLED : AMR_DTX_DISABLED;
+ context->dtx_mode = (atoi(arg)) ? AMR_DTX_ENABLED : AMR_DTX_DISABLED;
}
}
}
More information about the Freeswitch-svn
mailing list