avutil/opt: preserve fractions in set_string_number()
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 18 Feb 2014 20:43:57 +0000 (21:43 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 18 Feb 2014 20:49:56 +0000 (21:49 +0100)
commit8f853159f6ea6f6453e69a26f4ea62f9d35f4181
tree9a433b12f50b26acd087d38c863a5739f8af5cf6
parent3e70c7023e598afa15d40ae3fce62ae1eee25195
avutil/opt: preserve fractions in set_string_number()

This avoids going over a double precission float, which may loose precission

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/opt.c
tests/ref/fate/zmbv-8bit