aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorHumberto Ribeiro <mont3z.claro5@gmail.com>2018-01-03 15:22:15 -0800
committerJames Almer <jamrial@gmail.com>2018-01-04 18:20:43 -0300
commit7c3d519df90f36ffb48436861e8b8028199ee0a8 (patch)
treea3a4aba4a9baea457d1275e273e6385ae003fe05 /tools
parentd8104977bbfaa91743bf983ff620f75f8c7684bc (diff)
downloadffmpeg-7c3d519df90f36ffb48436861e8b8028199ee0a8.tar.gz
libavutil/hwcontext_dxva2: Add check for possible errors from GetAdapterDisplayModeEx
This prevents a possible crash in CreateDeviceEx when using faulty response from GetAdapterDisplayModeEx and allows ffmpeg to fallback to classic d3d9. Signed-off-by: wm4 <nfxjfg@googlemail.com> (cherry picked from commit 59b126f92225316e0cd77bb952d630553801dc85)
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions