aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/func_speex.c
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-05-22 17:10:53 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-05-22 17:10:53 +0000
commitdac7a3528e6f5436b32dd372eb5c31c5b5b1f4be (patch)
tree9a258decae4f074f9e9a7bfe05180c78af99aca4 /funcs/func_speex.c
parent9ae780c750855c4aeadf55a66e2e091e3a928c01 (diff)
Fix a few places where frame data was used directly.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@117828 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs/func_speex.c')
-rw-r--r--funcs/func_speex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs/func_speex.c b/funcs/func_speex.c
index fc4eb8e3e..7b2484010 100644
--- a/funcs/func_speex.c
+++ b/funcs/func_speex.c
@@ -135,7 +135,7 @@ static int speex_callback(struct ast_audiohook *audiohook, struct ast_channel *c
speex_preprocess_ctl(sdi->state, SPEEX_PREPROCESS_SET_DENOISE, &sdi->denoise);
}
- speex_preprocess(sdi->state, frame->data, NULL);
+ speex_preprocess(sdi->state, frame->data.ptr, NULL);
return 0;
}