aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/video/smk_player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/video/smk_player.cpp b/graphics/video/smk_player.cpp
index b0e79792d8..298e9c6598 100644
--- a/graphics/video/smk_player.cpp
+++ b/graphics/video/smk_player.cpp
@@ -755,7 +755,7 @@ bool SMKPlayer::decodeNextFrame() {
void SMKPlayer::queueCompressedBuffer(byte *buffer, uint32 bufferSize,
uint32 unpackedSize, int streamNum) {
- BitStream audioBS(buffer, bufferSize);
+ BitStream audioBS(buffer, bufferSize + 2);
bool dataPresent = audioBS.getBit();
if (!dataPresent)