Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
vlc
Commits
be87c5ee
Commit
be87c5ee
authored
Nov 06, 2010
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove calls to bzero.
parent
8ff2e66f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/audio_output/pulse.c
modules/audio_output/pulse.c
+1
-1
modules/gui/macosx/vout.m
modules/gui/macosx/vout.m
+1
-1
No files found.
modules/audio_output/pulse.c
View file @
be87c5ee
...
...
@@ -476,7 +476,7 @@ static void stream_request_cb(pa_stream *s, size_t length, void *userdata) {
{
PULSE_DEBUG
(
"Pulse stream request write zeroes"
);
void
*
data
=
pa_xmalloc
(
buffer_size
);
bzero
(
data
,
buffer_size
);
memset
(
data
,
0
,
buffer_size
);
pa_stream_write
(
p_sys
->
stream
,
data
,
buffer_size
,
pa_xfree
,
0
,
PA_SEEK_RELATIVE
);
length
-=
buffer_size
;
}
...
...
modules/gui/macosx/vout.m
View file @
be87c5ee
...
...
@@ -753,7 +753,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
if
(
o_return
==
nil
)
{
NSRect
null_rect
;
bzero
(
&
null_rect
,
sizeof
(
NSRect
)
);
memset
(
&
null_rect
,
0
,
sizeof
(
NSRect
)
);
o_return
=
[[
VLCDetachedVoutView
alloc
]
initWithFrame
:
null_rect
];
}
[
o_return
setVout
:
p_vout
subView
:
view
frame
:
s_frame
];
...
...
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