avutil/opt.c: fix bug when parsing option
authorMuhammad Faiz <mfcc64@gmail.com>
Mon, 21 Jul 2014 09:31:41 +0000 (02:31 -0700)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 21 Jul 2014 13:20:39 +0000 (15:20 +0200)
commit4927c0a9880be4e322d8256fea99b09568235665
tree8add872c158c07921a4b6606bf50a7a353f5e05a
parent40541716661eef877dcff43a4d35e7ad31ea992a
avutil/opt.c: fix bug when parsing option

fix these strange behavior:
-af flanger=delay=10 [OK]
-af flanger=delay=1e1 [OK]
-af flanger=delay=1e+1 [Error]
-af flanger=delay=0.1 [OK]
-af flanger=delay=1e-1 [Error]

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/opt.c