Fixes an invalid read in compute_stereo_width() for 2.5 ms frames at 12 kHz
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Tue, 28 Jun 2016 03:44:18 +0000 (23:44 -0400)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Tue, 28 Jun 2016 03:44:18 +0000 (23:44 -0400)
commit914476c6531f63a69f66a1e8af20050a21bcdf21
treefa199327c84b710662f98baee7b739ef3090cc48
parentb66080a8794f7e49d519a8e3e063ae5c645f465e
Fixes an invalid read in compute_stereo_width() for 2.5 ms frames at 12 kHz

That's the only size that's not a multiple of 4, so we just discard 2 samples
from the calculation.
src/opus_encoder.c