OSDN Git Service

parseutils: reliably detect out-of-range alpha.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Tue, 24 Apr 2012 18:18:57 +0000 (20:18 +0200)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Tue, 24 Apr 2012 19:28:24 +0000 (21:28 +0200)
commit2b336df3cb9d9bcc12c4b398ea1dbdfe224d152e
treec59cb13dd1dcca05294b6ad8fbeadc15e30239c9
parent44bd2f90a973960db5e5c74bf21110de8434a10f
parseutils: reliably detect out-of-range alpha.

This should fix the FATE test on ARM (not tested),
but it should also detect alpha values like 2^128
reliably as invalid which would be another out-of-range
case with implementation-dependant behaviour.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
libavutil/parseutils.c