git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12985 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-04-10 17:40:17 +00:00
parent 303c2221c4
commit 05348829aa
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ static switch_status_t init_encoder(switch_codec_t *codec)
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);