ARM (NSLU2) fixes for MP3 header scanning

This commit is contained in:
Ron Pedde 2004-09-19 03:04:26 +00:00
parent d317a98cdf
commit 03f53ecc8f
1 changed files with 2 additions and 3 deletions

View File

@ -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)); };