Commit 14617e3a authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '172b2cee'

* commit '172b2cee':
  dxva2: Add ifdefs around structs that might not be available

Conflicts:
	libavcodec/dxva2.c

See: 94d07b31Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 7fc6545d 172b2cee
...@@ -135,7 +135,9 @@ int ff_dxva2_common_end_frame(AVCodecContext *avctx, AVFrame *frame, ...@@ -135,7 +135,9 @@ int ff_dxva2_common_end_frame(AVCodecContext *avctx, AVFrame *frame,
#if CONFIG_D3D11VA #if CONFIG_D3D11VA
D3D11_VIDEO_DECODER_BUFFER_DESC buffer11[4]; D3D11_VIDEO_DECODER_BUFFER_DESC buffer11[4];
#endif #endif
#if CONFIG_DXVA2
DXVA2_DecodeBufferDesc buffer2[4]; DXVA2_DecodeBufferDesc buffer2[4];
#endif
DECODER_BUFFER_DESC *buffer = NULL, *buffer_slice = NULL; DECODER_BUFFER_DESC *buffer = NULL, *buffer_slice = NULL;
int result, runs = 0; int result, runs = 0;
HRESULT hr; HRESULT hr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment