mirror of
https://github.com/videolan/vlc.git
synced 2024-11-23 18:03:48 +08:00
srt: don't cast to vlc_object_t*
This commit is contained in:
parent
119e63275a
commit
3338d1da79
@ -91,7 +91,7 @@ static int Control(stream_t *p_stream, int i_query, va_list args)
|
||||
|
||||
static bool srt_schedule_reconnect(stream_t *p_stream)
|
||||
{
|
||||
vlc_object_t *strm_obj = (vlc_object_t *) p_stream;
|
||||
vlc_object_t *strm_obj = VLC_OBJECT(p_stream);
|
||||
int i_latency=var_InheritInteger( p_stream, SRT_PARAM_LATENCY );
|
||||
int stat;
|
||||
char *psz_passphrase = var_InheritString( p_stream, SRT_PARAM_PASSPHRASE );
|
||||
|
@ -63,7 +63,7 @@ static void srt_wait_interrupted(void *p_data)
|
||||
|
||||
static bool srt_schedule_reconnect(sout_access_out_t *p_access)
|
||||
{
|
||||
vlc_object_t *access_obj = (vlc_object_t *) p_access;
|
||||
vlc_object_t *access_obj = VLC_OBJECT(p_access);
|
||||
int stat;
|
||||
char *psz_dst_addr = NULL;
|
||||
int i_dst_port;
|
||||
|
Loading…
Reference in New Issue
Block a user