From c2a954290dc3888f877a047098b84c24363895fb Mon Sep 17 00:00:00 2001 From: Chong Zhang Date: Wed, 16 Aug 2017 13:03:47 -0700 Subject: skia: add heif decoding support Bug: b/64077740 Change-Id: I11e0243bcc4c21c0aa5aa29a719dd0fcba7ae6f7 Reviewed-on: https://skia-review.googlesource.com/35123 Reviewed-by: Chong Zhang Reviewed-by: Leon Scroggins Commit-Queue: Chong Zhang Commit-Queue: Leon Scroggins --- include/codec/SkCodec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/codec') diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h index fb4f165dbf..fb5bff5165 100644 --- a/include/codec/SkCodec.h +++ b/include/codec/SkCodec.h @@ -50,7 +50,7 @@ public: * this many bytes, or by implementing rewind() to be able to rewind() * after reading this many bytes. */ - static size_t MinBufferedBytesNeeded(); + static constexpr size_t MinBufferedBytesNeeded() { return 32; } /** * Error codes for various SkCodec methods. -- cgit v1.2.3