mirror of
https://github.com/opencv/opencv.git
synced 2026-11-21 08:45:29 -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.