Skip to content

Avoid a potential divide-by-zero.

Timothy B. Terriberry requested to merge tterribe/opusfile:fix_gh16-1 into master

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.

Merge request reports