summaryrefslogtreecommitdiff
path: root/drivers/webp/utils/bit_reader_inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/webp/utils/bit_reader_inl.h')
-rw-r--r--drivers/webp/utils/bit_reader_inl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/webp/utils/bit_reader_inl.h b/drivers/webp/utils/bit_reader_inl.h
index 20ce5f3cc7..21faf14d83 100644
--- a/drivers/webp/utils/bit_reader_inl.h
+++ b/drivers/webp/utils/bit_reader_inl.h
@@ -55,7 +55,8 @@ void VP8LoadFinalBytes(VP8BitReader* const br);
// Inlined critical functions
// makes sure br->value_ has at least BITS bits worth of data
-static WEBP_INLINE void VP8LoadNewBytes(VP8BitReader* const br) {
+static WEBP_UBSAN_IGNORE_UNDEF WEBP_INLINE
+void VP8LoadNewBytes(VP8BitReader* const br) {
assert(br != NULL && br->buf_ != NULL);
// Read 'BITS' bits at a time if possible.
if (br->buf_ < br->buf_max_) {