[FFmpeg-devel] [PATCH] libavutil/hwcontext_dxva2: Add check for possible errors from GetAdapterDisplayModeEx

Mont3z Claros mont3z.claro5 at gmail.com
Thu Jan 4 18:53:56 EET 2018


On Thu, Jan 4, 2018 at 7:49 AM, wm4 <nfxjfg at googlemail.com> wrote:
> On Wed,  3 Jan 2018 15:22:15 -0800
> Humberto Ribeiro <mont3z.claro5 at gmail.com> wrote:
>
>> This prevents a possible crash in CreateDeviceEx when using faulty response from GetAdapterDisplayModeEx and allows ffmpeg to fallback to classic d3d9.
>> ---
...
>>
>
> Tested, slightly modified your commit message (broke on 72 columns,
> though I left the overlong subject line alone), and pushed together
> with my patch.
>

Thx a lot for this.
Humberto


More information about the ffmpeg-devel mailing list