Skip to content

Commit 140b747

Browse files
committed
fix a lint error in the VP8 coefficient reader
1 parent b856b4d commit 140b747

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/codecs/vp8.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ function readCoefficients(d: BoolDecoder, probs: Uint8Array, type: number, ctx:
374374
// (BoolDecoder.read inlined, with its state in local variables, like libwebp's GetCoeffs)
375375
const data = d.data, end = d.end;
376376
let pos = d.pos, value = d.value, range = d.range, bitCount = d.bitCount;
377-
let bit = 0;
377+
let bit: number;
378378

379379
let i = first;
380380
let p = ((type * 8 + BANDS[i]) * 3 + ctx) * 11;

0 commit comments

Comments
 (0)