Michael Niedermayer
|
3d9cb583c8
|
avcodec/hq_hqa: Fix: runtime error: signed integer overflow: -255 * 10180917 cannot be represented in type 'int'
Fixes: 1626/clusterfuzz-testcase-minimized-6416580571299840
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
|
8 years ago |
Michael Niedermayer
|
1283c42447
|
avcodec/hq_hqa: Fix runtime error: left shift of negative value -207
Fixes: 1375/clusterfuzz-testcase-minimized-6070134701555712
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
|
8 years ago |
Diego Biurrun
|
a25dac976a
|
Use bitstream_init8() where appropriate
|
8 years ago |
Alexandra Hájková
|
c5e01d9170
|
hq_hqa: Convert to the new bitstream reader
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
8 years ago |
Diego Biurrun
|
b7f98659f2
|
Remove unnecessary get_bits.h #includes
|
9 years ago |
Carl Eugen Hoyos
|
144ef773c7
|
Use correct msvc type specifiers for ptrdiff_t and size_t.
|
9 years ago |
Vittorio Giovara
|
def97856de
|
lavc: AV-prefix all codec capabilities
Express bitfields more simply.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
9 years ago |
Vittorio Giovara
|
0cf5588d69
|
hq_hqa: Fix decoding when INFO section is absent
|
9 years ago |
Michael Niedermayer
|
653bf3c5a1
|
avcodec/hq_hqa: Fix signness of tag
Fixes Ticket4509
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
10 years ago |
Luca Barbato
|
28eddef689
|
hq_hqa: Validate get_vlc2 return value
The `hq_ac_vlc.table` is incomplete, so unaccounted symbol return -1
as value.
|
10 years ago |
Paul B Mahol
|
77e794908b
|
avcodec/hq_hqa: remove superfluous log message
Signed-off-by: Paul B Mahol <onemda@gmail.com>
|
10 years ago |
Vittorio Giovara
|
bd5ad8b23d
|
hq_hqa: Fix reading hqa quantization matrix index
Value is stored as a byte.
|
10 years ago |
Vittorio Giovara
|
22526c1f55
|
Canopus HQ/HQA decoder
Based on work by Kostya Shishkov <kostya.shishkov@gmail.com>.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
10 years ago |