aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/ex_adpcm.h
diff options
context:
space:
mode:
Diffstat (limited to 'codecs/ex_adpcm.h')
-rw-r--r--codecs/ex_adpcm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/codecs/ex_adpcm.h b/codecs/ex_adpcm.h
index e1db64c83..8a1a5eea9 100644
--- a/codecs/ex_adpcm.h
+++ b/codecs/ex_adpcm.h
@@ -19,7 +19,7 @@ static struct ast_frame *adpcm_sample(void)
{
static struct ast_frame f = {
.frametype = AST_FRAME_VOICE,
- .subclass = AST_FORMAT_ADPCM,
+ .subclass.codec = AST_FORMAT_ADPCM,
.datalen = sizeof(ex_adpcm),
.samples = ARRAY_LEN(ex_adpcm) * 2,
.mallocd = 0,