dxva2: use a single macro to test if the DXVA context is valid
authorSteve Lhomme <robux4@gmail.com>
Fri, 13 Jan 2017 13:01:05 +0000 (14:01 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 16 Jan 2017 01:54:04 +0000 (02:54 +0100)
commit77742c75c5503c848447814a96f16abc6b9aa5f4
treeceb6726437589c4b6b7a6fa24c0d533b22e34010
parent367cac7827870054ae3bd6d4517e7b13f4f3f72c
dxva2: use a single macro to test if the DXVA context is valid

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dxva2_h264.c
libavcodec/dxva2_hevc.c
libavcodec/dxva2_internal.h
libavcodec/dxva2_mpeg2.c
libavcodec/dxva2_vc1.c
libavcodec/dxva2_vp9.c