Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xvba-video
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
xvba-video
Commits
97e3d780
Commit
97e3d780
authored
Dec 23, 2011
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xvba_buffer: assert if sizes do not match
parent
2a4872c3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/xvba_buffer.c
src/xvba_buffer.c
+1
-0
No files found.
src/xvba_buffer.c
View file @
97e3d780
...
@@ -829,6 +829,7 @@ xvba_CreateBuffer(
...
@@ -829,6 +829,7 @@ xvba_CreateBuffer(
if
(
!
obj_buffer
)
if
(
!
obj_buffer
)
return
VA_STATUS_ERROR_ALLOCATION_FAILED
;
return
VA_STATUS_ERROR_ALLOCATION_FAILED
;
ASSERT
(
size
==
obj
->
buffer_size
);
if
(
data
)
if
(
data
)
memcpy
(
obj_buffer
->
buffer_data
,
data
,
obj_buffer
->
buffer_size
);
memcpy
(
obj_buffer
->
buffer_data
,
data
,
obj_buffer
->
buffer_size
);
...
...
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