aboutsummaryrefslogtreecommitdiffstats
path: root/COPYING.LGPLv2.1
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2012-09-13 19:45:21 +0200
committerLuca Barbato <lu_zero@gentoo.org>2012-09-14 14:26:27 +0200
commit714508bcb91057868a96588b9fba4d29c6c4fc77 (patch)
tree91de1202d42e0606fbbf8f70e64d0bb5cd6cb717 /COPYING.LGPLv2.1
parent44272c1cccfb92415801ae60693a7ed04e458916 (diff)
downloadffmpeg-714508bcb91057868a96588b9fba4d29c6c4fc77.tar.gz
vorbisdec: ensure FASTDIV denominator is never 1
In both usages of FASTDIV the denominator might be 1. Using a branch could make the function slower than using a normal division. Both denominator and numerator can be multiplied by 2 safely and using shifts is faster than using a branch.
Diffstat (limited to 'COPYING.LGPLv2.1')
0 files changed, 0 insertions, 0 deletions