Commit be87c5ee authored by Rémi Duraffort's avatar Rémi Duraffort

Remove calls to bzero.

parent 8ff2e66f
......@@ -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;
}
......
......@@ -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];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment