mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-04 03:55:28 -04:00
Let copyIntoRasterWithParams() handle null param.
This commit is contained in:
parent
993e07ee34
commit
b34b26e08c
@ -560,12 +560,7 @@ final class WebPImageReader extends ImageReaderBase {
|
||||
|
||||
// Copy into destination raster
|
||||
WritableRaster dstRaster = destination.getAlphaRaster();
|
||||
if (param == null) {
|
||||
dstRaster.setRect(alphaRaster);
|
||||
}
|
||||
else {
|
||||
VP8LDecoder.copyIntoRasterWithParams(alphaRaster, dstRaster, param);
|
||||
}
|
||||
VP8LDecoder.copyIntoRasterWithParams(alphaRaster, dstRaster, param);
|
||||
}
|
||||
|
||||
private int getPredictorAlpha(WritableRaster alphaRaster, int filtering, int y, int x) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user