[asterisk-commits] russell: trunk r99080 - in /trunk: ./ include/asterisk/translate.h

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jan 18 15:24:05 CST 2008


Author: russell
Date: Fri Jan 18 15:24:05 2008
New Revision: 99080

URL: http://svn.digium.com/view/asterisk?view=rev&rev=99080
Log:
Merged revisions 99079 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99079 | russell | 2008-01-18 15:22:21 -0600 (Fri, 18 Jan 2008) | 4 lines

Since we're relying on the offset between the frame and the beginning of the translator
pvt struct, set the packed attribute to make sure we get to the right place.
(potential fix for issue #11792)

........

Modified:
    trunk/   (props changed)
    trunk/include/asterisk/translate.h

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/include/asterisk/translate.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/translate.h?view=diff&rev=99080&r1=99079&r2=99080
==============================================================================
--- trunk/include/asterisk/translate.h (original)
+++ trunk/include/asterisk/translate.h Fri Jan 18 15:24:05 2008
@@ -147,7 +147,7 @@
 	struct timeval nextin;
 	struct timeval nextout;
 	unsigned int destroy:1;
-};
+} attribute_packed;
 
 /*! \brief generic frameout function */
 struct ast_frame *ast_trans_frameout(struct ast_trans_pvt *pvt,




More information about the asterisk-commits mailing list