summaryrefslogtreecommitdiff
path: root/addons/format_mp3.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2009-11-04 16:13:50 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2009-11-04 16:13:50 +0000
commit8f336e3d013758271020adb59d921166ee6bc7a8 (patch)
treed5b4aa694e713d81a936133d9401b0560305a78b /addons/format_mp3.c
parentd8e0c584372c51b585a52efbe2375861bc09bdcf (diff)
Fix trunk building
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@227614 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'addons/format_mp3.c')
-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;