Skip to content
  • Timothy B. Terriberry's avatar
    Move nbits_total initialize before renormalization. · 6619a736
    Timothy B. Terriberry authored and Jean-Marc Valin's avatar Jean-Marc Valin committed
    The range decoder used to initialize nbits_total after the
     renormalization loop, even though the renormalization loop
     modifies it.
    This was presumably safe, because nothing actually used the value
     before it was initialized, but I'm tired of it triggering the
     integer overflow checking.
    6619a736