861f54887d
When calculating what resolution to actually downscale to, it can end up smaller than what the caller set. When scaling down to resolutions close to the limit of allowed values, this can end up setting values lower than the limit. Previously, e.g. a downscale from 2266x8 to 566x2 will end up as 566x1 after this calculation. When scaling to a 566x1, the chroma plane gets a height of 0, which doesn't make sense, and which breaks e.g. the SSE2 scaler. Therefore, make sure none of the dimensions end up set below 2. |
||
---|---|---|
.. | ||
api/svc | ||
build | ||
common | ||
console | ||
decoder | ||
encoder | ||
processing |