projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8e0c58
)
Fix trunk building
author
Tilghman Lesher
<tilghman@meg.abyt.es>
Wed, 4 Nov 2009 16:13:50 +0000
(16:13 +0000)
committer
Tilghman Lesher
<tilghman@meg.abyt.es>
Wed, 4 Nov 2009 16:13:50 +0000
(16:13 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@227614
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
addons/format_mp3.c
patch
|
blob
|
history
diff --git
a/addons/format_mp3.c
b/addons/format_mp3.c
index
81d2a0d
..
4e71961
100644
(file)
--- 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;