[FFmpeg-devel] [RFC] d3dva security hw+threads

Anton Khirnov anton at khirnov.net
Sun Sep 4 09:58:23 EEST 2022


Quoting Timo Rothenpieler (2022-09-02 01:46:59)
> On 02.09.2022 01:32, Michael Niedermayer wrote:
> > Hi all
> > 
> > Theres a use after free issue in H.264 Decoding on d3d11va with multiple threads
> > I dont have the hardware/platform nor do i know the hw decoding code so i made
> > no attempt to fix this beyond asking others to ...
> 
> hwaccel with multiple threads being broken is not exactly a surprise.
> So we could just disable that, and always have it be one single thread?

We are already disabling it in a way - the frame threading code ensures
that threads run one at a time when hwaccel is being used.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list