[MPlayer-dev-eng] Re: [BUG] commandline parser ... or not ????

Michael Niedermayer michaelni at gmx.at
Tue Aug 12 01:20:02 CEST 2003


Hi

On Monday 11 August 2003 22:52, Alex Beregszaszi wrote:
> Hi,
>
> > So at startup the option say to set to 0x32315640 ??? The source is
> >
> >   { "yv12", &format, CONF_TYPE_FLAG, 0, 0 , IMGFMT_YV12, NULL },
> >
> > and yes IMGFMT_YV12 should be 0x32315659. What's the hell ?????
> >
> > At first i did not really belive it. So i did various other traces
> > and all lead to the same result: The max field if the option is
> > alredy 0x32315640 when the option start to enter the config stuff.
>
> Probably some overflow?
loss of precission rather i guess ...
storing 32 bit integer in a 32bit float (8bit exponent/sign/23bit mantisse) 
cant work

>
> struct config {
> 	char *name;
> 	void *p;
> 	unsigned int type;
> 	unsigned int flags;
> 	float min, max;
> 	cfg_default_func_t default_func;
> };

-- 
Michael
level[i]= get_vlc(); i+=get_vlc();		(violates patent EP0266049)
median(mv[y-1][x], mv[y][x-1], mv[y+1][x+1]);	(violates patent #5,905,535)
buf[i]= qp - buf[i-1];				(violates patent #?)
for more examples, see http://mplayerhq.hu/~michael/patent.html
stop it, see http://petition.eurolinux.org & http://petition.ffii.org/eubsa/en



More information about the MPlayer-dev-eng mailing list