[FFmpeg-cvslog] avcodec/exr: Dont use 64bits to hold 6bits
Michael Niedermayer
git at videolan.org
Sun Apr 14 19:36:39 EEST 2024
ffmpeg | branch: release/6.0 | Michael Niedermayer <michael at niedermayer.cc> | Mon Apr 1 02:18:57 2024 +0200| [df95c2630db74224a45f5d329dfcb3b8c77f0244] | committer: Michael Niedermayer
avcodec/exr: Dont use 64bits to hold 6bits
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
(cherry picked from commit e3984de6ffd6068efcfb5c576f1ec788211608fe)
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=df95c2630db74224a45f5d329dfcb3b8c77f0244
---
libavcodec/exr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/exr.c b/libavcodec/exr.c
index 260925928a..61d2d07a69 100644
--- a/libavcodec/exr.c
+++ b/libavcodec/exr.c
@@ -334,7 +334,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);
More information about the ffmpeg-cvslog
mailing list