diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-10-29 00:18:15 -0400 |
---|---|---|
committer | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-10-30 23:18:43 -0400 |
commit | 8d9f86bd3791d4448460faee03f07751d0202c32 (patch) | |
tree | c3322bc16ea05ff9784556b17355c2a09804b8c6 /libavutil/atomic_win32.h | |
parent | 865f6f410fdba92b2c92b9b83381dc96e660e4e4 (diff) | |
download | ffmpeg-8d9f86bd3791d4448460faee03f07751d0202c32.tar.gz |
avutil/rational: use frexp rather than ad-hoc log to get floating point exponent
This simplifies and cleans up the code.
Furthermore, it is much faster due to absence of the slow log computation.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Diffstat (limited to 'libavutil/atomic_win32.h')
0 files changed, 0 insertions, 0 deletions