Avoid a potential divide-by-zero.
Reported by clang's static analysis in https://github.com/xiph/opusfile/issues/16 This would have taken about 22 TB of junk data before the first decoded sample to trigger, so not very likely to occur in practice. Thanks to kcgen for filing the report.
parent
9f181180
No related branches found
No related tags found
Loading
Please register or sign in to comment