Index: src/codec/SkBmpRLECodec.cpp |
diff --git a/src/codec/SkBmpRLECodec.cpp b/src/codec/SkBmpRLECodec.cpp |
index 1b95acc830eb5178ef600de9ad5e48535b032f00..793bbfd2609e3bf139ec79795f7087b8d79f330d 100644 |
--- a/src/codec/SkBmpRLECodec.cpp |
+++ b/src/codec/SkBmpRLECodec.cpp |
@@ -287,7 +287,7 @@ SkCodec::Result SkBmpRLECodec::prepareToDecode(const SkImageInfo& dstInfo, |
fRLEBytes = fOrigRLEBytes; |
if (!this->initializeStreamBuffer()) { |
SkCodecPrintf("Error: cannot initialize stream buffer.\n"); |
- return SkCodec::kInvalidConversion; |
+ return SkCodec::kInvalidInput; |
} |
return SkCodec::kSuccess; |