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
7ed5d78d
Commit
7ed5d78d
authored
May 26, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/dxva2: Fix "may be used uninitialized" warnings
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
a838b22b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dxva2.c
libavcodec/dxva2.c
+2
-2
No files found.
libavcodec/dxva2.c
View file @
7ed5d78d
...
@@ -59,7 +59,7 @@ int ff_dxva2_commit_buffer(AVCodecContext *avctx,
...
@@ -59,7 +59,7 @@ int ff_dxva2_commit_buffer(AVCodecContext *avctx,
void
*
dxva_data
;
void
*
dxva_data
;
unsigned
dxva_size
;
unsigned
dxva_size
;
int
result
;
int
result
;
HRESULT
hr
;
HRESULT
hr
=
0
;
#if CONFIG_D3D11VA
#if CONFIG_D3D11VA
if
(
avctx
->
pix_fmt
==
AV_PIX_FMT_D3D11VA_VLD
)
if
(
avctx
->
pix_fmt
==
AV_PIX_FMT_D3D11VA_VLD
)
...
@@ -136,7 +136,7 @@ int ff_dxva2_common_end_frame(AVCodecContext *avctx, AVFrame *frame,
...
@@ -136,7 +136,7 @@ int ff_dxva2_common_end_frame(AVCodecContext *avctx, AVFrame *frame,
D3D11_VIDEO_DECODER_BUFFER_DESC
buffer11
[
4
];
D3D11_VIDEO_DECODER_BUFFER_DESC
buffer11
[
4
];
#endif
#endif
DXVA2_DecodeBufferDesc
buffer2
[
4
];
DXVA2_DecodeBufferDesc
buffer2
[
4
];
DECODER_BUFFER_DESC
*
buffer
,
*
buffer_slice
;
DECODER_BUFFER_DESC
*
buffer
=
NULL
,
*
buffer_slice
=
NULL
;
int
result
,
runs
=
0
;
int
result
,
runs
=
0
;
HRESULT
hr
;
HRESULT
hr
;
unsigned
type
;
unsigned
type
;
...
...
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