Commit 074d01d6 authored by Christophe Massiot's avatar Christophe Massiot

* modules/access/udp.c: When udp is invoked as 'rtp:', only consider RTP

  packets.
parent fcad2638
......@@ -212,7 +212,16 @@ static int Open( vlc_object_t *p_this )
/* Set up p_access */
p_access->pf_read = NULL;
if( !strcasecmp( p_access->psz_access, "rtp" )
|| !strcasecmp( p_access->psz_access, "rtp4" )
|| !strcasecmp( p_access->psz_access, "rtp6" ) )
{
p_access->pf_block = BlockRTP;
}
else
{
p_access->pf_block = BlockChoose;
}
p_access->pf_control = Control;
p_access->pf_seek = NULL;
p_access->info.i_update = 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