[MPlayer-dev-eng] shared liba52 and mm_accel macros

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Apr 3 11:01:02 CEST 2007


Hello,
On Tue, Apr 03, 2007 at 01:57:15AM -0400, Rich Felker wrote:
> On Mon, Apr 02, 2007 at 12:27:30PM +0200, Reimar Döffinger wrote:
> > There is a correct way to do it, and it involves a third parameter to
> > the main() function. I forgot the details though.
> 
> This is not correct, and the third parameter to main (which is
> undefined and invalid C anyway!) is just the pointer to the
> environment, which is also accessible as extern char **environ;

Right, it is the fourth parameter:
http://ozlabs.org/pipermail/linuxppc-dev/2003-March/014902.html
And yes it is not standard C, but at least it seems to be part of the
PPC ABI...
But as said, that method isn't an option for lavc so I didn't look into
it further.

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list