hwcontext_dxva2: do not assume the destination format during mapping is always the...
authorAnton Khirnov <anton@khirnov.net>
Mon, 7 Nov 2016 12:34:21 +0000 (13:34 +0100)
committerAnton Khirnov <anton@khirnov.net>
Fri, 18 Nov 2016 09:31:53 +0000 (10:31 +0100)
commit0d3176e32f351d18d6174d8b05796829a75a4c6b
tree5c4f9e042ab3edddc230700c0463888061eeb1f5
parentadb0e941c329a4778ade6dd0a326274472992f54
hwcontext_dxva2: do not assume the destination format during mapping is always the right one

Handle the cases where it is unsupported or unset.
libavutil/hwcontext_dxva2.c