aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/ex_speex.h
diff options
context:
space:
mode:
Diffstat (limited to 'codecs/ex_speex.h')
-rw-r--r--codecs/ex_speex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/codecs/ex_speex.h b/codecs/ex_speex.h
index 61bd4ca4f..36c91ae4c 100644
--- a/codecs/ex_speex.h
+++ b/codecs/ex_speex.h
@@ -18,7 +18,7 @@ static struct ast_frame *speex_sample(void)
{
static struct ast_frame f = {
.frametype = AST_FRAME_VOICE,
- .subclass = AST_FORMAT_SPEEX,
+ .subclass.codec = AST_FORMAT_SPEEX,
.datalen = sizeof(ex_speex),
/* All frames are 20 ms long */
.samples = SPEEX_SAMPLES,