OSDN Git Service

rtpproto: Update the parameter documentation
authorMartin Storsjö <martin@martin.st>
Tue, 13 Aug 2013 09:19:57 +0000 (12:19 +0300)
committerMartin Storsjö <martin@martin.st>
Tue, 13 Aug 2013 19:16:53 +0000 (22:16 +0300)
Move the sources documentation up below the marker for deprecated
otpions. Also mention the new block parameter, that was added
in 749722209.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtpproto.c

index 974aa35..27ea370 100644 (file)
@@ -234,9 +234,10 @@ static void rtp_parse_addr_list(URLContext *h, char *buf,
  *         'localrtcpport=n'  : set the local rtcp port to n
  *         'pkt_size=n'       : set max packet size
  *         'connect=0/1'      : do a connect() on the UDP socket
+ *         'sources=ip[,ip]'  : list allowed source IP addresses
+ *         'block=ip[,ip]'    : list disallowed source IP addresses
  * deprecated option:
  *         'localport=n'      : set the local port to n
- *         'sources=ip[,ip]'  : list allowed source IP addresses
  *
  * if rtcpport isn't set the rtcp port will be the rtp port + 1
  * if local rtp port isn't set any available port will be used for the local