srt: don't cast to vlc_object_t*

This commit is contained in:
Steve Lhomme 2022-06-28 09:04:57 +02:00
parent 119e63275a
commit 3338d1da79
2 changed files with 2 additions and 2 deletions

View File

@ -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 );

View File

@ -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;