[MPlayer-dev-eng] octal and hex surprise and perplex
Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Jun 11 10:22:31 CEST 2006
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).
More information about the MPlayer-dev-eng