* #26839: iax: fix warnings

This commit is contained in:
Tristan Matthews
2013-07-11 15:16:25 -04:00
parent 6d7080d59f
commit c560e82f1d

View File

@ -661,8 +661,7 @@ void IAXVoIPLink::iaxHandleVoiceEvent(iax_event* event, IAXCall* call)
if (size > max)
size = max;
int samples = audioCodec->decode(decData_.getData(), data , size);
int outSize = samples * sizeof(SFLAudioSample);
audioCodec->decode(decData_.getData(), data , size);
AudioBuffer *out = &decData_;
unsigned int audioRate = audioCodec->getClockRate();