Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Prevent infinite loop in bit_range_convert (#3996)
It was possible for `bit_range_convert` to be called with a 0 for the `FROM_BITS` parameter leading to an infinite loop in its processing. Fixes #3993: OIIO library freezes when loading R16G16 uncompressed DDS files The test image from the above bug is now able to be read correctly. Signed-off-by: Jesse Yurkovich <jesse.y@gmail.com>
- Loading branch information