JBIG2 - bugfixing

This commit is contained in:
Jakub Melka
2019-11-03 14:56:56 +01:00
parent ab10a6923e
commit 0b507c2610
4 changed files with 10 additions and 4 deletions

View File

@ -112,6 +112,11 @@ void PDFBitReader::alignToBytes()
if (remainder > 0)
{
read(remainder);
if (m_bitsInBuffer == 0)
{
m_buffer = 0;
}
}
}