From 03f53ecc8fc91c8823d93fe667f8798ab20e21df Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Sun, 19 Sep 2004 03:04:26 +0000 Subject: [PATCH] ARM (NSLU2) fixes for MP3 header scanning --- src/mp3-scanner.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/mp3-scanner.c b/src/mp3-scanner.c index db5329ec..c7e380fb 100644 --- a/src/mp3-scanner.c +++ b/src/mp3-scanner.c @@ -60,14 +60,13 @@ * Typedefs */ -#pragma pack(1) typedef struct tag_scan_id3header { unsigned char id[3]; unsigned char version[2]; unsigned char flags; unsigned char size[4]; -} SCAN_ID3HEADER; -#pragma pack(0) +} __attribute((packed)) SCAN_ID3HEADER; + #define MAYBEFREE(a) { if((a)) free((a)); };