• Luca Barbato's avatar
    vorbisdec: ensure FASTDIV denominator is never 1 · 714508bc
    Luca Barbato authored
    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.
    714508bc
vorbisdec.c 64.3 KB