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

Alex Beregszaszi alex at fsn.hu
Mon Aug 11 22:52:30 CEST 2003


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? 

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

-- 
Alex Beregszaszi <alex at fsn.hu>
(MPlayer Core Developer -- http://www.mplayerhq.hu/)



More information about the MPlayer-dev-eng mailing list