Michael Niedermayer
cc7e984a05
avcodec/scpr3: Check bx
...
Fixes: Out of array access
Fixes: 55102/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SCPR_fuzzer-4877396618903552
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2023-01-17 12:54:54 +01:00
Andreas Rheinhardt
66b691f99f
avcodec/internal: Move ff_get_buffer() to decode.h
...
Only used by decoders (encoders have ff_encode_alloc_frame()).
Also clean up the other headers a bit while removing now redundant
internal.h inclusions.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-08-27 14:14:56 +02:00
Andreas Rheinhardt
84bb18d4e7
avcodec/scpr3: Avoid code duplication when updating models
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
2021-02-23 10:14:26 +01:00
Michael Niedermayer
c8de8dfba6
avcodec/scpr3: Fix out of array access with dectab
...
Fixes: 23721/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SCPR_fuzzer-5914074721550336
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2020-07-02 17:14:31 +02:00
Marton Balint
f811ac5228
avcodec/scpr3: fix checking ret value of decode_run_i
...
Fixes Coverity CID 1441461.
Signed-off-by: Marton Balint <cus@passwd.hu >
2019-05-24 21:39:07 +02:00
James Almer
938cb783d4
avcodec/scpr3: add missing check for decode_value3() return value
...
Fixes ticket #7866 .
Signed-off-by: James Almer <jamrial@gmail.com >
2019-04-27 16:15:00 -03:00
Michael Niedermayer
8f63fa4c2e
avcodec/scpr: Perform frame copy later
...
Optimization found while looking at 13442/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SCPR_fuzzer-5758293933293568
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2019-03-20 21:12:45 +01:00
Paul B Mahol
a064530da8
avcodec/scpr: add version 3 support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2018-11-18 22:59:29 +01:00