summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-06-05 20:28:08 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-06-05 20:28:08 +0200
commit71f48c6e91419fc7161f8a75fbaebd2adc58ed77 (patch)
tree6dbef8977bd19c4f98e4737810f4b9063771b033
parent33e68bd91eb35951cfb9b5748c028f3936331cff (diff)
downloadxine-lib-71f48c6e91419fc7161f8a75fbaebd2adc58ed77.tar.gz
xine-lib-71f48c6e91419fc7161f8a75fbaebd2adc58ed77.tar.bz2
Use XINE_PACKED rather than __attribute__((__packed__)).
-rw-r--r--src/demuxers/demux_tta.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/demuxers/demux_tta.c b/src/demuxers/demux_tta.c
index 724404a5b..4d53c5d3f 100644
--- a/src/demuxers/demux_tta.c
+++ b/src/demuxers/demux_tta.c
@@ -32,6 +32,7 @@
#include "buffer.h"
#include "bswap.h"
#include "group_audio.h"
+#include "attributes.h"
typedef struct {
demux_plugin_t demux_plugin;
@@ -56,7 +57,7 @@ typedef struct {
uint32_t samplerate;
uint32_t data_length;
uint32_t crc32;
- } __attribute__((__packed__)) tta;
+ } XINE_PACKED tta;
uint8_t buffer[22]; /* This is the size of the header */
} header;
} demux_tta_t;