mirror of
https://github.com/opencv/opencv.git
synced 2026-11-23 09:47:57 -06:00
Codecs without native downscaling are resized after decoding. When a side was smaller than the scale the target size was 0 and resize() threw. Keep at least one pixel.