aboutsummaryrefslogtreecommitdiffstats
path: root/addons
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-11-04 16:13:50 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-11-04 16:13:50 +0000
commit3dff4bc81b2d9ac1b052a66b7dc0a04b917d5a5c (patch)
treed5b4aa694e713d81a936133d9401b0560305a78b /addons
parent3bacd4082e2d3a2dd5b8b13635df956aa4f415cd (diff)
Fix trunk building
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@227614 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'addons')
-rw-r--r--addons/format_mp3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/format_mp3.c b/addons/format_mp3.c
index 81d2a0d71..4e71961f5 100644
--- a/addons/format_mp3.c
+++ b/addons/format_mp3.c
@@ -224,7 +224,7 @@ static struct ast_frame *mp3_read(struct ast_filestream *s, int *whennext)
p->offset += p->buflen;
delay = p->buflen/2;
s->fr.frametype = AST_FRAME_VOICE;
- s->fr.subclass = AST_FORMAT_SLINEAR;
+ s->fr.subclass.codec = AST_FORMAT_SLINEAR;
AST_FRAME_SET_BUFFER(&s->fr, s->buf, AST_FRIENDLY_OFFSET, p->buflen);
s->fr.mallocd = 0;
s->fr.samples = delay;