diff options
Diffstat (limited to 'apps/app_milliwatt.c')
-rw-r--r-- | apps/app_milliwatt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_milliwatt.c b/apps/app_milliwatt.c index b6d940384..24137606d 100644 --- a/apps/app_milliwatt.c +++ b/apps/app_milliwatt.c @@ -78,7 +78,7 @@ static int milliwatt_generate(struct ast_channel *chan, void *data, int len, int int i, *indexp = (int *) data; struct ast_frame wf = { .frametype = AST_FRAME_VOICE, - .subclass = AST_FORMAT_ULAW, + .subclass.codec = AST_FORMAT_ULAW, .offset = AST_FRIENDLY_OFFSET, .src = __FUNCTION__, }; |