summaryrefslogtreecommitdiff
path: root/funcs
diff options
context:
space:
mode:
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;
}