aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/translate.h
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-18 21:24:05 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-18 21:24:05 +0000
commit66d6ff5e4881f737297ca5dbff3261ed11aa2008 (patch)
treed8d90ddc73a3ce1d35b4c7338c5e5a958d116762 /include/asterisk/translate.h
parent3ccde56001c66a633ab8027085e3b93615613a0b (diff)
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) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99080 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/translate.h')
-rw-r--r--include/asterisk/translate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/translate.h b/include/asterisk/translate.h
index 97f10283f..f4673944c 100644
--- a/include/asterisk/translate.h
+++ b/include/asterisk/translate.h
@@ -147,7 +147,7 @@ struct ast_trans_pvt {
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,