[FFmpeg-devel] [PATCH] avcodec: validate codec parameters in avcodec_parameters_to_context
h.leppkes at gmail.com
Tue Oct 25 10:47:29 EEST 2016
On Tue, Oct 25, 2016 at 1:50 AM, Andreas Cadhalpun
<andreas.cadhalpun at googlemail.com> wrote:
> This should reduce the impact of a demuxer (or API user) setting bogus
> codec parameters.
This seems rather noisy and doesn't really solve anything, does it?
Decoders still need to validate values instead of blindly trusting
them, and this just hides some problems in these decoders, instead of
fixing them there. API users of avcodec would not fill
AVCodecParameters, they would fill a codec context directly.
More information about the ffmpeg-devel