I ran into the same problem testing with the ARM compiler a while ago.
I've attached my hacked solution, which might gives one possible solution. It contains hacked versions of huffman.h, huffman.c and layer3.c, although they are from mad-0.11.0b so won't drop straight into a more recent version.
Hope this is useful.
Andre --
--- warmice wzyzht@163.net wrote:
Hi,everyone: I want to port mad to windows(VC++).The follwoing statement will be a syntax error in VC++.
# define PTR(offs, bits) { ptr: { 0, bits, offs } } (huffman.c)
What's the meaning of this statement ,what's the meaning of "ptr:" ? How can I change it in VC++?
Many many thanks.
____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie