diff options
author | Martin Storsjö <martin@martin.st> | 2012-01-21 23:28:11 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-01-22 01:10:02 +0200 |
commit | dbb06b8c0d7020d4a95ef8b2831aa58ec00145c7 (patch) | |
tree | f0dd57ddf71d5edffa7250f2cc0eba4a57ebf151 /libavformat/rtsp.h | |
parent | bc495bad3d8cbae71c82142906f7d36baf25a848 (diff) | |
download | ffmpeg-dbb06b8c0d7020d4a95ef8b2831aa58ec00145c7.tar.gz |
rtsp: Allow specifying the UDP port range via AVOptions
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtsp.h')
-rw-r--r-- | libavformat/rtsp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h index 9d05289a91..6872a51a24 100644 --- a/libavformat/rtsp.h +++ b/libavformat/rtsp.h @@ -359,6 +359,11 @@ typedef struct RTSPState { * Mask of all requested media types */ int media_type_mask; + + /** + * Minimum and maximum local UDP ports. + */ + int rtp_port_min, rtp_port_max; } RTSPState; #define RTSP_FLAG_FILTER_SRC 0x1 /**< Filter incoming UDP packets - |