ARM (NSLU2) fixes for MP3 header scanning
This commit is contained in:
parent
d317a98cdf
commit
03f53ecc8f
|
@ -60,14 +60,13 @@
|
||||||
* Typedefs
|
* Typedefs
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma pack(1)
|
|
||||||
typedef struct tag_scan_id3header {
|
typedef struct tag_scan_id3header {
|
||||||
unsigned char id[3];
|
unsigned char id[3];
|
||||||
unsigned char version[2];
|
unsigned char version[2];
|
||||||
unsigned char flags;
|
unsigned char flags;
|
||||||
unsigned char size[4];
|
unsigned char size[4];
|
||||||
} SCAN_ID3HEADER;
|
} __attribute((packed)) SCAN_ID3HEADER;
|
||||||
#pragma pack(0)
|
|
||||||
|
|
||||||
#define MAYBEFREE(a) { if((a)) free((a)); };
|
#define MAYBEFREE(a) { if((a)) free((a)); };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue