diff options
author | Martin Vignali <martin.vignali@gmail.com> | 2016-04-12 20:01:08 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2016-04-12 22:54:56 +0200 |
commit | ac07e57c39de856cb88ee6ff0669da3ced2fc694 (patch) | |
tree | 093ff7fd9fa8074216d52fb0181a861984aa6aaf /libavcodec/exr.c | |
parent | 392b0a25c236e7dc7e4976a5f1bed7485f801059 (diff) | |
download | ffmpeg-ac07e57c39de856cb88ee6ff0669da3ced2fc694.tar.gz |
avcodec/exr: fix huf_decode
Diffstat (limited to 'libavcodec/exr.c')
-rw-r--r-- | libavcodec/exr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/exr.c b/libavcodec/exr.c index 250d99fedb..f54ffad1c7 100644 --- a/libavcodec/exr.c +++ b/libavcodec/exr.c @@ -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) { |