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
109dfed7
Commit
109dfed7
authored
Mar 16, 2016
by
Matt Oliver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/dxva2_h264: Fix incorrect assert statement.
Signed-off-by:
Matt Oliver
<
protogonoi@gmail.com
>
parent
73f3c8f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
dxva2_h264.c
libavcodec/dxva2_h264.c
+6
-1
No files found.
libavcodec/dxva2_h264.c
View file @
109dfed7
...
...
@@ -426,7 +426,12 @@ static int commit_bitstream_and_slice_buffer(AVCodecContext *avctx,
slice_data
=
ctx_pic
->
slice_long
;
slice_size
=
ctx_pic
->
slice_count
*
sizeof
(
*
ctx_pic
->
slice_long
);
}
assert
((
bs
->
DataSize
&
127
)
==
0
);
#if CONFIG_D3D11VA
assert
((((
D3D11_VIDEO_DECODER_BUFFER_DESC
*
)
bs
)
->
DataSize
&
127
)
==
0
);
#endif
#if CONFIG_DXVA2
assert
((((
DXVA2_DecodeBufferDesc
*
)
bs
)
->
DataSize
&
127
)
==
0
);
#endif
return
ff_dxva2_commit_buffer
(
avctx
,
ctx
,
sc
,
type
,
slice_data
,
slice_size
,
mb_count
);
...
...
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