Index: src/codec/SkBmpRLECodec.cpp |
diff --git a/src/codec/SkBmpRLECodec.cpp b/src/codec/SkBmpRLECodec.cpp |
index 37af47600b504d8a49efcaa3e66f093b9bb18b0c..e215095266ab26cb53b3f27b79f95293c6d535de 100644 |
--- a/src/codec/SkBmpRLECodec.cpp |
+++ b/src/codec/SkBmpRLECodec.cpp |
@@ -259,6 +259,12 @@ void SkBmpRLECodec::setRGBPixel(void* dst, size_t dstRowBytes, |
SkCodec::Result SkBmpRLECodec::prepareToDecode(const SkImageInfo& dstInfo, |
const SkCodec::Options& options, SkPMColor inputColorPtr[], int* inputColorCount) { |
+ // FIXME: Support subsets for scanline decodes. |
+ if (options.fSubset) { |
+ // Subsets are not supported. |
+ return kUnimplemented; |
+ } |
+ |
// Reset fSampleX. If it needs to be a value other than 1, it will get modified by |
// the sampler. |
fSampleX = 1; |