Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
172b2cee
Commit
172b2cee
authored
Jun 01, 2015
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxva2: Add ifdefs around structs that might not be available
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
28fa58cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
dxva2.c
libavcodec/dxva2.c
+4
-0
No files found.
libavcodec/dxva2.c
View file @
172b2cee
...
@@ -132,8 +132,12 @@ int ff_dxva2_common_end_frame(AVCodecContext *avctx, AVFrame *frame,
...
@@ -132,8 +132,12 @@ int ff_dxva2_common_end_frame(AVCodecContext *avctx, AVFrame *frame,
{
{
AVDXVAContext
*
ctx
=
avctx
->
hwaccel_context
;
AVDXVAContext
*
ctx
=
avctx
->
hwaccel_context
;
unsigned
buffer_count
=
0
;
unsigned
buffer_count
=
0
;
#if CONFIG_D3D11VA
D3D11_VIDEO_DECODER_BUFFER_DESC
buffer11
[
4
];
D3D11_VIDEO_DECODER_BUFFER_DESC
buffer11
[
4
];
#endif
#if CONFIG_DXVA2
DXVA2_DecodeBufferDesc
buffer2
[
4
];
DXVA2_DecodeBufferDesc
buffer2
[
4
];
#endif
DECODER_BUFFER_DESC
*
buffer
,
*
buffer_slice
;
DECODER_BUFFER_DESC
*
buffer
,
*
buffer_slice
;
int
result
,
runs
=
0
;
int
result
,
runs
=
0
;
HRESULT
hr
;
HRESULT
hr
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment