Commit ac07e57c authored by Martin Vignali's avatar Martin Vignali Committed by Paul B Mahol

avcodec/exr: fix huf_decode

parent 392b0a25
......@@ -520,7 +520,8 @@ static int huf_decode(const uint64_t *hcode, const HufDec *hdecod,
uint16_t *outb = out;
uint16_t *oe = out + no;
const uint8_t *ie = gb->buffer + (nbits + 7) / 8; // input byte size
uint8_t cs, s;
uint8_t cs;
uint16_t s;
int i, lc = 0;
while (gb->buffer < ie) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment