summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibVideo/VP9/BitStream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibVideo/VP9/BitStream.cpp')
-rw-r--r--Userland/Libraries/LibVideo/VP9/BitStream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibVideo/VP9/BitStream.cpp b/Userland/Libraries/LibVideo/VP9/BitStream.cpp
index 8b8fba12ab..e9f6ba371c 100644
--- a/Userland/Libraries/LibVideo/VP9/BitStream.cpp
+++ b/Userland/Libraries/LibVideo/VP9/BitStream.cpp
@@ -145,8 +145,8 @@ ErrorOr<u8> BitStream::read_literal(u8 n)
ErrorOr<i8> BitStream::read_s(size_t n)
{
- auto value = TRY(read_bits(n));
- auto sign = TRY(read_bit());
+ i8 value = TRY(read_bits(n));
+ bool sign = TRY(read_bit());
return sign ? -value : value;
}