diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-05-25 22:24:40 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-25 22:24:40 +0200 |
commit | 94d07b314aa516284cc21ea720d4a305f881b6c2 (patch) | |
tree | 9bc4708b46f22086bf350388a64d9a179402c1a5 /libavcodec/dxva2.c | |
parent | 947b74ee7da7984b666a478164917e42d4f4592d (diff) | |
download | ffmpeg-94d07b314aa516284cc21ea720d4a305f881b6c2.tar.gz |
avcodec/dxva2: Fix build without D3D11
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dxva2.c')
-rw-r--r-- | libavcodec/dxva2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/dxva2.c b/libavcodec/dxva2.c index 477607957c..eb8959e630 100644 --- a/libavcodec/dxva2.c +++ b/libavcodec/dxva2.c @@ -132,7 +132,9 @@ int ff_dxva2_common_end_frame(AVCodecContext *avctx, AVFrame *frame, { AVDXVAContext *ctx = avctx->hwaccel_context; unsigned buffer_count = 0; +#if CONFIG_D3D11VA D3D11_VIDEO_DECODER_BUFFER_DESC buffer11[4]; +#endif DXVA2_DecodeBufferDesc buffer2[4]; DECODER_BUFFER_DESC *buffer,*buffer_slice; int result, runs = 0; |