avcodec/exr: Dont use 64bits to hold 6bits
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
589fa8a027
commit
e3984de6ff
1 changed files with 1 additions and 1 deletions
|
|
@ -335,7 +335,7 @@ static int huf_unpack_enc_table(GetByteContext *gb,
|
|||
return ret;
|
||||
|
||||
for (; im <= iM; im++) {
|
||||
uint64_t l;
|
||||
int l;
|
||||
if (get_bits_left(&gbit) < 6)
|
||||
return AVERROR_INVALIDDATA;
|
||||
l = freq[im] = get_bits(&gbit, 6);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue