diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2024-04-01 02:18:57 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2024-04-03 00:44:38 +0200 |
commit | e3984de6ffd6068efcfb5c576f1ec788211608fe (patch) | |
tree | 44989a5f2d59b218b0a3c51a35981b28d5eb0896 | |
parent | 589fa8a027f3b1707d78d7c45335acc498a5e887 (diff) | |
download | ffmpeg-e3984de6ffd6068efcfb5c576f1ec788211608fe.tar.gz |
avcodec/exr: Dont use 64bits to hold 6bits
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavcodec/exr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/exr.c b/libavcodec/exr.c index 09f2fca109..8bd39f78a4 100644 --- a/libavcodec/exr.c +++ b/libavcodec/exr.c @@ -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); |