aboutsummaryrefslogtreecommitdiff
path: root/src/decoder_impl.h
diff options
context:
space:
mode:
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;
}