aboutsummaryrefslogtreecommitdiff
path: root/src/decoder_impl.h
diff options
context:
space:
mode:
authorBoyuan Yang <byang@debian.org>2022-07-14 15:56:57 -0400
committerBoyuan Yang <byang@debian.org>2022-07-14 15:56:57 -0400
commitd4dbf19f6b0181ee78034bfe4caf189d1c016998 (patch)
tree47d5d28d2ab770a10e6c48788725c51dffeb84a9 /src/decoder_impl.h
parent320ef65362608ee1148c299d8d5d7618af34e470 (diff)
downloadlibgav1-d4dbf19f6b0181ee78034bfe4caf189d1c016998.tar.gz
libgav1-d4dbf19f6b0181ee78034bfe4caf189d1c016998.tar.bz2
libgav1-d4dbf19f6b0181ee78034bfe4caf189d1c016998.zip
New upstream version 0.18.0
Diffstat (limited to 'src/decoder_impl.h')
-rw-r--r--src/decoder_impl.h5
1 files changed, 3 insertions, 2 deletions
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;
}