[MPlayer-dev-eng] octal and hex surprise and perplex

Ivan Kalvachev ikalvachev at gmail.com
Sun Jun 11 10:31:46 CEST 2006


2006/6/11, Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de>:
> Hi,
> On Sun, Jun 11, 2006 at 01:48:20AM +0300, Ivan Kalvachev wrote:
> > Is this generic int parsing?
> > Then I'm afraind you must also handle sign...
>
> And whitespace before etc. pp.
> Maybe it's better to replace the strtol(..., 0) by
> strtol(..., 10) and if that fails also try strtol(..., 16).

great idea!



More information about the MPlayer-dev-eng mailing list