Andreas Rheinhardt
cf728ce041
avcodec/midivid: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
2021-05-02 02:42:26 +02:00
Andreas Rheinhardt
a247ac640d
avcodec: Constify AVCodecs
...
Given that the AVCodec.next pointer has now been removed, most of the
AVCodecs are not modified at all any more and can therefore be made
const (as this patch does); the only exceptions are the very few codecs
for external libraries that have a init_static_data callback.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:15 -03:00
Paul B Mahol
e007059d66
avcodec/midivid: only multiple of 4 width/height are possible
2020-02-13 12:15:42 +01:00
Paul B Mahol
388a221a8b
avcodec/midivid: improve decoding of widths not multiple of 32
2020-02-13 12:02:30 +01:00
Michael Niedermayer
b0eec1391e
avcodec/midivid: Check vector index
...
Fixes: out of array read
Fixes: 20494/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MVDV_fuzzer-5681452423577600
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-02-09 23:33:18 +01:00
Zhong Li
5dc527f9ca
lavc/midivid: check return value of init_get_bits8()
...
Fix CID 1456088
Signed-off-by: Zhong Li <zhongli_dev@126.com >
2019-12-23 20:14:42 +01:00
Paul B Mahol
61dc7add30
avcodec: add mvdv video decoder
2019-11-27 23:53:43 +01:00