mirror of
https://github.com/opencv/opencv.git
synced 2026-11-17 06:47:47 -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.