Fixes ope_encoder_drain() bug
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Sat, 30 Dec 2017 18:57:42 +0000 (13:57 -0500)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Sat, 30 Dec 2017 18:57:42 +0000 (13:57 -0500)
commita04e079b037ef0e506250e4619818557ae73368e
tree0bbb070d6861f265016bd7ea611bf237e7e69003
parent20a8f3272c98b362610b176c1114fac34b4cc358
Fixes ope_encoder_drain() bug

assert(enc->streams == NULL) would fail because pad_samples was missing
a fractional number of samples due to the resampler output latency not
being an integer.
src/opusenc.c