Browse Source

avcodec/exr: fix huf_decode

tags/n3.1
Martin Vignali Paul B Mahol 9 years ago
parent
commit
ac07e57c39
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavcodec/exr.c

+ 2
- 1
libavcodec/exr.c View File

@@ -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) {


Loading…
Cancel
Save