Hi.
I tried everything. Make all memory zero which is allocated. use calloc in stead of malloc, change to FPM_64BIT and back to FPM_DEFAULT. Changing optimization. Everytime I get the same picture. Nothing helps... Single stepping through the code is also not an option, I don't know anything about MP3 decoding at all. I need an other compiler I think. Somebody knows a free MIPS VR4111 C compiler?
Greetz,
Jeroen
From: Andre armccurdy@yahoo.co.uk To: Jeroen jeroen_t@hotmail.com, mad-dev@lists.mars.org Subject: Re: Problems when porting to MIPS processor using Greenhills compiler Date: Fri, 15 Feb 2002 12:07:09 +0000 (GMT)
Jeroen,
A MIPS connected to a television... cool !!
The waveform looks like its from the start of decoding (ie the first few frames). If you look at the output after many more frames does it get any closer to what you expect ??
Try zeroing the malloc'ed memory in layer3.c and decoder.c before it is used (or remove the mallocs and use static arrays).
Try defining FPM_64BIT instead of FPM_DEFAULT and recompiling.
Did you have to do anything strange to the source or Makefiles to get libmad to build with the ghs compiler ??
Andre
Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com
_________________________________________________________________ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com