diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-16 20:01:52 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-22 08:39:02 +0100 |
commit | 16af5236aea621ee88641903ce080f2977691013 (patch) | |
tree | 599d817e326933742a480a89aaf5a4fd61e1185b /libavcodec/atrac9tab.h | |
parent | 2b114adcf4b46904e776d42a333db134e53dd6fc (diff) | |
download | ffmpeg-16af5236aea621ee88641903ce080f2977691013.tar.gz |
avcodec/avcodec: Sanitize options before using them
This is how it is supposed to happen, yet when using frame threading,
the codec's init function has been called before preinit. This can lead
to crashes when e.g. using unsupported lowres values for decoders
together with frame threading.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
(cherry picked from commit 746796ceb49b3dab88d3c05f26c2406eceadf4ed)
Diffstat (limited to 'libavcodec/atrac9tab.h')
0 files changed, 0 insertions, 0 deletions