Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libva
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
libva
Commits
3c98acb5
Commit
3c98acb5
authored
Jun 24, 2011
by
Xiang, Haihao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
va: fix warning about memset.
Signed-off-by:
Xiang, Haihao
<
haihao.xiang@intel.com
>
parent
20574567
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
va/va_fool.c
va/va_fool.c
+1
-1
va/va_trace.c
va/va_trace.c
+1
-1
No files found.
va/va_fool.c
View file @
3c98acb5
...
...
@@ -217,7 +217,7 @@ int va_FoolEnd(VADisplay dpy)
if
(
fool_context
[
idx
].
codebuf
)
free
(
fool_context
[
idx
].
codebuf
);
memset
(
&
fool_context
[
idx
],
sizeof
(
struct
_fool_context
),
0
);
memset
(
&
fool_context
[
idx
],
0
,
sizeof
(
struct
_fool_context
)
);
return
0
;
}
...
...
va/va_trace.c
View file @
3c98acb5
...
...
@@ -244,7 +244,7 @@ void va_TraceEnd(VADisplay dpy)
if
(
trace_context
[
idx
].
trace_fp_surface
&&
(
trace_context
[
idx
].
trace_fp_surface
!=
stderr
))
fclose
(
trace_context
[
idx
].
trace_fp_surface
);
memset
(
&
trace_context
[
idx
],
sizeof
(
struct
_trace_context
),
0
);
memset
(
&
trace_context
[
idx
],
0
,
sizeof
(
struct
_trace_context
)
);
}
...
...
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