[Freeswitch-svn] [commit] r2376 - freeswitch/trunk/src/mod/endpoints/mod_dingaling
Freeswitch SVN
anthm at freeswitch.org
Wed Aug 23 17:08:28 EDT 2006
Author: anthm
Date: Wed Aug 23 17:08:28 2006
New Revision: 2376
Modified:
freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c
Log:
fix stupid oversight
Modified: freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c Wed Aug 23 17:08:28 2006
@@ -498,8 +498,8 @@
} else {
payloads[0].name = lame(tech_pvt->codecs[tech_pvt->codec_index]->iananame);
payloads[0].id = tech_pvt->codecs[tech_pvt->codec_index]->ianacode;
- payloads[0].rate = tech_pvt->codecs[0]->samples_per_second;
- payloads[0].bps = tech_pvt->codecs[0]->bits_per_second;
+ payloads[0].rate = tech_pvt->codecs[tech_pvt->codec_index]->samples_per_second;
+ payloads[0].bps = tech_pvt->codecs[tech_pvt->codec_index]->bits_per_second;
}
More information about the Freeswitch-svn
mailing list