[Freeswitch-svn] [commit] r12985 - freeswitch/trunk/src/mod/codecs/mod_dahdi_codec
FreeSWITCH SVN
anthm at freeswitch.org
Fri Apr 10 10:40:17 PDT 2009
Author: anthm
Date: Fri Apr 10 12:40:17 2009
New Revision: 12985
Log:
fix typo
Modified:
freeswitch/trunk/src/mod/codecs/mod_dahdi_codec/mod_dahdi_codec.c
Modified: freeswitch/trunk/src/mod/codecs/mod_dahdi_codec/mod_dahdi_codec.c
==============================================================================
--- freeswitch/trunk/src/mod/codecs/mod_dahdi_codec/mod_dahdi_codec.c (original)
+++ freeswitch/trunk/src/mod/codecs/mod_dahdi_codec/mod_dahdi_codec.c Fri Apr 10 12:40:17 2009
@@ -126,7 +126,7 @@
fmts.dstfmt = (codec->implementation->ianacode == CODEC_G729_IANA_CODE)
? DAHDI_FORMAT_G729A : DAHDI_FORMAT_G723_1;
context->encoding_fd = switch_dahdi_get_transcoder(&fmts);
- if (context->decoding_fd < 0) {
+ if (context->encoding_fd < 0) {
#ifdef DEBUG_DAHDI_CODEC
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "encoding requested and denied with %d/%d.\n",
fmts.srcfmt, fmts.dstfmt);
More information about the Freeswitch-svn
mailing list