Commit c4148dd5 authored by Marian Durkovic's avatar Marian Durkovic

Fix error in backport of [18891] - Closes #1171

parent 7b3b8483
......@@ -201,9 +201,9 @@ static int Open( vlc_object_t *p_this )
p_access->info.b_prebuffered = VLC_FALSE;
p_access->info.i_title = 0;
p_access->info.i_seekpoint = 0;
memset (p_sys, 0, sizeof (*p_sys));
p_access->p_sys = p_sys = malloc( sizeof( access_sys_t ) );
memset (p_sys, 0, sizeof (*p_sys));
p_sys->fd = net_OpenUDP( p_access, psz_bind_addr, i_bind_port,
psz_server_addr, i_server_port );
if( p_sys->fd < 0 )
......
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