Skip to content
  • Timothy B. Terriberry's avatar
    Fix collapse_masks overflow for mono. · 6bdc53b8
    Timothy B. Terriberry authored and Jean-Marc Valin's avatar Jean-Marc Valin committed
    We were always storing collapse_masks[i*C+1], which could have
     overflowed the buffer on the last band in mono.
    This also moves the stores outside the conditional, which allows
     common code to be used for masking the high bits, address
     generation, etc.
    6bdc53b8