mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Merge commit '172b2cee17a3779c114ba065dd7b25dcf61e408f'
* commit '172b2cee17a3779c114ba065dd7b25dcf61e408f':
dxva2: Add ifdefs around structs that might not be available
Conflicts:
libavcodec/dxva2.c
See: 94d07b314a
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
14617e3a73
@ -135,7 +135,9 @@ int ff_dxva2_common_end_frame(AVCodecContext *avctx, AVFrame *frame,
|
||||
#if CONFIG_D3D11VA
|
||||
D3D11_VIDEO_DECODER_BUFFER_DESC buffer11[4];
|
||||
#endif
|
||||
#if CONFIG_DXVA2
|
||||
DXVA2_DecodeBufferDesc buffer2[4];
|
||||
#endif
|
||||
DECODER_BUFFER_DESC *buffer = NULL, *buffer_slice = NULL;
|
||||
int result, runs = 0;
|
||||
HRESULT hr;
|
||||
|
Loading…
Reference in New Issue
Block a user