diff options
author | Humberto Ribeiro <[email protected]> | 2018-01-03 15:22:15 -0800 |
---|---|---|
committer | wm4 <[email protected]> | 2018-01-04 15:41:40 +0100 |
commit | 59b126f92225316e0cd77bb952d630553801dc85 (patch) | |
tree | 68b5d8170973230541f36fb0cffba2da5775bc4f /doc/examples/encode_audio.c | |
parent | 1b283c4a0dde1060ca1745f59a15cb8b77dfdaa5 (diff) |
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 <[email protected]>
Diffstat (limited to 'doc/examples/encode_audio.c')
0 files changed, 0 insertions, 0 deletions