summaryrefslogtreecommitdiff
path: root/libavformat/rtpproto.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-08-13 12:19:57 +0300
committerMartin Storsjö <martin@martin.st>2013-08-13 22:16:53 +0300
commit2427ac6ccd868811d1fe9df7c64c50ca58abe6f6 (patch)
treea1ac10f83ed9a3896c833880114029fee0a74d94 /libavformat/rtpproto.c
parent5268bd2900effa59b51e0fede61aacde5e2f0b95 (diff)
downloadffmpeg-2427ac6ccd868811d1fe9df7c64c50ca58abe6f6.tar.gz
rtpproto: Update the parameter documentation
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>
Diffstat (limited to 'libavformat/rtpproto.c')
-rw-r--r--libavformat/rtpproto.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index 974aa351a5..27ea37099a 100644
--- a/libavformat/rtpproto.c
+++ b/libavformat/rtpproto.c
@@ -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