summaryrefslogtreecommitdiff
path: root/funcs
diff options
context:
space:
mode:
authorJason Parker <jparker@digium.com>2008-05-22 17:10:53 +0000
committerJason Parker <jparker@digium.com>2008-05-22 17:10:53 +0000
commitf7eb823a7a4551139abd677a2024705012d035c6 (patch)
tree9a258decae4f074f9e9a7bfe05180c78af99aca4 /funcs
parent5ceec8b05232152eb8c3a6dab74cc39baa7abe8e (diff)
Fix a few places where frame data was used directly.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@117828 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'funcs')
-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;
}