Michael Niedermayer
f3e4ebb007
avcodec/siren: Increase noise category 5 and 6
...
The entry read is not used in subsequent computation, thus its
value is not important.
Fixes: out of array read
Fixes: 28578/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SIREN_fuzzer-6332019122503680
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-01-28 21:06:56 +01:00
Michael Niedermayer
e847cabb60
avcodec/siren: Factorize category 5 and 6 noise computation
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-01-28 21:06:55 +01:00
Michael Niedermayer
1208872946
avcodec/siren: remove constant region_size
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-01-28 21:06:54 +01:00
Anton Khirnov
e15371061d
lavu/mem: move the DECLARE_ALIGNED macro family to mem_internal on next+1 bump
...
They are not properly namespaced and not intended for public use.
2021-01-01 14:14:57 +01:00
Michael Niedermayer
34f5a59ad5
avcodec: Set AV_CODEC_CAP_CHANNEL_CONF in more decoders
...
Suggested-by: Paul B Mahol <onemda@gmail.com >
See: [FFmpeg-devel] [PATCH 1/3] avcodec/fastaudio: Check channels
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2020-11-28 00:41:51 +01:00
Michael Niedermayer
3197b0099b
avcodec/siren: Fix integer overflow in get_dw()
...
Fixes: signed integer overflow: 685813396 + 1803454769 cannot be represented in type 'int'
Fixes: 21073/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SIREN_fuzzer-5744900508483584
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2020-03-19 02:19:25 +01:00
Michael Niedermayer
12ec8ad24b
avcodec/siren: Check several indexes
...
Fixes: Multiple out of array accesses
Fixes: 20817/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SIREN_fuzzer-5754041227542528.fuzz
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2020-03-04 23:20:32 +01:00
Paul B Mahol
464310c160
avcodec: add siren audio decoder
2020-02-20 14:41:26 +01:00