From d4dbf19f6b0181ee78034bfe4caf189d1c016998 Mon Sep 17 00:00:00 2001 From: Boyuan Yang Date: Thu, 14 Jul 2022 15:56:57 -0400 Subject: New upstream version 0.18.0 --- src/decoder_impl.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/decoder_impl.h') diff --git a/src/decoder_impl.h b/src/decoder_impl.h index b52ecdf..b75417d 100644 --- a/src/decoder_impl.h +++ b/src/decoder_impl.h @@ -141,8 +141,9 @@ class DecoderImpl : public Allocable { int64_t user_private_data, void* buffer_private_data); StatusCode DequeueFrame(const DecoderBuffer** out_ptr); static constexpr int GetMaxBitdepth() { - static_assert(LIBGAV1_MAX_BITDEPTH == 8 || LIBGAV1_MAX_BITDEPTH == 10, - "LIBGAV1_MAX_BITDEPTH must be 8 or 10."); + static_assert(LIBGAV1_MAX_BITDEPTH == 8 || LIBGAV1_MAX_BITDEPTH == 10 || + LIBGAV1_MAX_BITDEPTH == 12, + "LIBGAV1_MAX_BITDEPTH must be 8, 10 or 12."); return LIBGAV1_MAX_BITDEPTH; } -- cgit v1.2.3