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)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Russell Bryant 18 years ago
parent eab2f166c3
commit f0001ecf66

@ -149,7 +149,7 @@ struct ast_trans_pvt {
struct ast_trans_pvt *next; /*!< next in translator chain */ struct ast_trans_pvt *next; /*!< next in translator chain */
struct timeval nextin; struct timeval nextin;
struct timeval nextout; struct timeval nextout;
}; } attribute_packed;
/*! \brief generic frameout function */ /*! \brief generic frameout function */
struct ast_frame *ast_trans_frameout(struct ast_trans_pvt *pvt, struct ast_frame *ast_trans_frameout(struct ast_trans_pvt *pvt,

Loading…
Cancel
Save