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