[asterisk-commits] dvossel: branch dvossel/fixtheworld_phase2 r308572 - /team/dvossel/fixtheworl...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Feb 22 15:33:18 CST 2011
Author: dvossel
Date: Tue Feb 22 15:33:14 2011
New Revision: 308572
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=308572
Log:
Fixes problem with init of resampler
Modified:
team/dvossel/fixtheworld_phase2/codecs/codec_resample.c
Modified: team/dvossel/fixtheworld_phase2/codecs/codec_resample.c
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/fixtheworld_phase2/codecs/codec_resample.c?view=diff&rev=308572&r1=308571&r2=308572
==============================================================================
--- team/dvossel/fixtheworld_phase2/codecs/codec_resample.c (original)
+++ team/dvossel/fixtheworld_phase2/codecs/codec_resample.c Tue Feb 22 15:33:14 2011
@@ -56,10 +56,9 @@
static int resamp_new(struct ast_trans_pvt *pvt)
{
- SpeexResamplerState *resamp_pvt = pvt->pvt;
int err;
- if (!(resamp_pvt = speex_resampler_init(1, ast_format_rate(&pvt->t->src_format), ast_format_rate(&pvt->t->dst_format), 5, &err))) {
+ if (!(pvt->pvt = speex_resampler_init(1, ast_format_rate(&pvt->t->src_format), ast_format_rate(&pvt->t->dst_format), 5, &err))) {
return -1;
}
More information about the asterisk-commits
mailing list