From e2339c67cd9596529ea936780f0d80c19b3069b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sat, 8 Feb 2020 16:16:24 +0100 Subject: [PATCH] Fixed bitstream4 flush --- src/map/IMG/bitstream.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/map/IMG/bitstream.cpp b/src/map/IMG/bitstream.cpp index 3d619834..6039bb80 100644 --- a/src/map/IMG/bitstream.cpp +++ b/src/map/IMG/bitstream.cpp @@ -72,7 +72,8 @@ bool BitStream4::flush() return false; _length = 0; - _unused = 32; + _used = 32; + _unused = 0; return true; }