diff options
-rw-r--r-- | xine_osd_command.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/xine_osd_command.h b/xine_osd_command.h index c1550116..c4504621 100644 --- a/xine_osd_command.h +++ b/xine_osd_command.h @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_osd_command.h,v 1.16 2011-01-16 12:48:44 phintuka Exp $ + * $Id: xine_osd_command.h,v 1.17 2011-03-05 13:52:43 phintuka Exp $ * */ @@ -14,7 +14,9 @@ #ifndef PACKED # define PACKED __attribute__((packed)) #endif - +#ifndef ALIGNED +# define ALIGNED __attribute__((aligned)) +#endif #define MAX_OSD_OBJECT 50 @@ -106,7 +108,7 @@ typedef struct osd_command_s { uint8_t flags; uint8_t scaling; -} PACKED osd_command_t; +} PACKED osd_command_t ALIGNED; #if __BYTE_ORDER == __LITTLE_ENDIAN |