Message ID | 20240401020006.12107-2-michael@niedermayer.cc |
---|---|
State | Accepted |
Commit | e3984de6ffd6068efcfb5c576f1ec788211608fe |
Headers | show |
Series | [FFmpeg-devel,1/3] avcodec/exr: Check for remaining bits in huf_unpack_enc_table() | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavcodec/exr.c b/libavcodec/exr.c index 09f2fca109c..8bd39f78a45 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);
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> --- libavcodec/exr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)