[asterisk-commits] tilghman: trunk r227614 - /trunk/addons/format_mp3.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Nov 4 10:13:54 CST 2009


Author: tilghman
Date: Wed Nov  4 10:13:50 2009
New Revision: 227614

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=227614
Log:
Fix trunk building

Modified:
    trunk/addons/format_mp3.c

Modified: trunk/addons/format_mp3.c
URL: http://svnview.digium.com/svn/asterisk/trunk/addons/format_mp3.c?view=diff&rev=227614&r1=227613&r2=227614
==============================================================================
--- trunk/addons/format_mp3.c (original)
+++ trunk/addons/format_mp3.c Wed Nov  4 10:13:50 2009
@@ -224,7 +224,7 @@
 	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;




More information about the asterisk-commits mailing list