fix stupid oversight

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2376 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-08-23 21:08:28 +00:00
parent 6223ad7333
commit 0898abde78

View File

@ -498,8 +498,8 @@ static int do_describe(struct private_object *tech_pvt, int force)
} 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;
}