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
64c53fa1
Commit
64c53fa1
authored
Jul 27, 2012
by
jamal
Committed by
Michael Niedermayer
Jul 28, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxva2: Fix some warnings about incompatible pointer type
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
0fa35262
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
dxva2_h264.c
libavcodec/dxva2_h264.c
+1
-1
dxva2_mpeg2.c
libavcodec/dxva2_mpeg2.c
+1
-1
dxva2_vc1.c
libavcodec/dxva2_vc1.c
+1
-1
No files found.
libavcodec/dxva2_h264.c
View file @
64c53fa1
...
...
@@ -293,7 +293,7 @@ static int commit_bitstream_and_slice_buffer(AVCodecContext *avctx,
/* Create an annex B bitstream buffer with only slice NAL and finalize slice */
if
(
FAILED
(
IDirectXVideoDecoder_GetBuffer
(
ctx
->
decoder
,
DXVA2_BitStreamDateBufferType
,
&
dxva_data
,
&
dxva_size
)))
(
void
**
)
&
dxva_data
,
&
dxva_size
)))
return
-
1
;
current
=
dxva_data
;
end
=
dxva_data
+
dxva_size
;
...
...
libavcodec/dxva2_mpeg2.c
View file @
64c53fa1
...
...
@@ -160,7 +160,7 @@ static int commit_bitstream_and_slice_buffer(AVCodecContext *avctx,
if
(
FAILED
(
IDirectXVideoDecoder_GetBuffer
(
ctx
->
decoder
,
DXVA2_BitStreamDateBufferType
,
&
dxva_data
,
&
dxva_size
)))
(
void
**
)
&
dxva_data
,
&
dxva_size
)))
return
-
1
;
current
=
dxva_data
;
end
=
dxva_data
+
dxva_size
;
...
...
libavcodec/dxva2_vc1.c
View file @
64c53fa1
...
...
@@ -178,7 +178,7 @@ static int commit_bitstream_and_slice_buffer(AVCodecContext *avctx,
if
(
FAILED
(
IDirectXVideoDecoder_GetBuffer
(
ctx
->
decoder
,
DXVA2_BitStreamDateBufferType
,
&
dxva_data
,
&
dxva_size
)))
(
void
**
)
&
dxva_data
,
&
dxva_size
)))
return
-
1
;
result
=
data_size
<=
dxva_size
?
0
:
-
1
;
...
...
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