Andreas Rheinhardt
8a67b20232
avcodec/m101: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
2021-05-02 02:41:01 +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
Michael Niedermayer
89b96900fa
avcodec/m101: Fix off be 2 error
...
Fixes: out of array read
Fixes: 15263/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_M101_fuzzer-5728999453491200
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2019-06-29 19:22:19 +02:00
Carl Eugen Hoyos
a8cb567e55
lavc: Remove CR/LF from avpriv_request_sample() calls.
2016-12-03 15:40:26 +01:00
Michael Niedermayer
7155bd1c94
avcodec/m101: Ask for samples with too small extradata_size
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-05-18 23:59:02 +02:00
Michael Niedermayer
42ee137a0a
avcodec/m101: Check BPS value
...
Fixes null pointer dereference
Fixes Ticket5520
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-05-18 18:40:22 +02:00
Michael Niedermayer
fc6894770e
avcodec/m101: simplify 8bit code
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-05-07 04:42:52 +02:00
Michael Niedermayer
22d1148c77
avcodec/m101: remove unneeded zeroing of priv_data_size
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-05-07 04:42:52 +02:00
Michael Niedermayer
cbe265ccd7
avcodec/m101: Simplify if() condition
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-05-07 04:42:52 +02:00
Michael Niedermayer
4155d5e06f
avcodec: add M101 decoder
...
Fixes Ticket 2611
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-05-06 15:36:24 +02:00