Skip to content

Commit

Permalink
Fix variable used in computation
Browse files Browse the repository at this point in the history
  • Loading branch information
flanglet committed Sep 14, 2024
1 parent 52c0df5 commit 6a9932d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/bitstream/DefaultInputBitStream.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ func (this *DefaultInputBitStream) readFromInputStream(count int) (int, error) {
return 0, nil
}

this.read += int64((this.maxPosition + 1) << 3)
this.read += int64(this.position << 3)
size, err := this.is.Read(this.buffer[0:count])
this.position = 0

Expand Down

0 comments on commit 6a9932d

Please sign in to comment.