Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: third_party/libwebp/utils/bit_reader_inl.h

Issue 460303002: libwebp: mips32r6 build fix (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing include Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libwebp/dsp/dsp.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libwebp/utils/bit_reader_inl.h
diff --git a/third_party/libwebp/utils/bit_reader_inl.h b/third_party/libwebp/utils/bit_reader_inl.h
index b8d2c0413cbcae536d2845ac23a12bf8f9477dbb..81427c6259b2ef1612a03463553e039ea78d5ad1 100644
--- a/third_party/libwebp/utils/bit_reader_inl.h
+++ b/third_party/libwebp/utils/bit_reader_inl.h
@@ -24,6 +24,7 @@
#include <string.h> // memcpy
#endif
+#include "../dsp/dsp.h"
#include "./bit_reader.h"
#include "./endian_inl.h"
@@ -63,7 +64,7 @@ static WEBP_INLINE void VP8LoadNewBytes(VP8BitReader* const br) {
#if defined(WEBP_FORCE_ALIGNED)
lbit_t in_bits;
memcpy(&in_bits, br->buf_, sizeof(in_bits));
-#elif defined(__mips__) // MIPS
+#elif defined(WEBP_USE_MIPS32)
// This is needed because of un-aligned read.
lbit_t in_bits;
lbit_t* p_buf_ = (lbit_t*)br->buf_;
« no previous file with comments | « third_party/libwebp/dsp/dsp.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698