summaryrefslogtreecommitdiff
path: root/libavformat/rtsp.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-02-19 18:02:45 +0100
committerAnton Khirnov <anton@khirnov.net>2016-02-22 11:45:31 +0100
commit8c0ceafb0f25da077ff23e394667119f031574fd (patch)
treec495ca2679de2d9c0bc436652cfb5764cee47905 /libavformat/rtsp.h
parentcae448cfbf31d492cba782bc64fc4eed556ed83d (diff)
downloadffmpeg-8c0ceafb0f25da077ff23e394667119f031574fd.tar.gz
urlprotocol: receive a list of protocols from the caller
This way, the decisions about which protocols are available for use in any given situations can be delegated to the caller.
Diffstat (limited to 'libavformat/rtsp.h')
-rw-r--r--libavformat/rtsp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h
index b9357c1b6f..0226dac0f1 100644
--- a/libavformat/rtsp.h
+++ b/libavformat/rtsp.h
@@ -398,6 +398,8 @@ typedef struct RTSPState {
char default_lang[4];
int buffer_size;
+
+ const URLProtocol **protocols;
} RTSPState;
#define RTSP_FLAG_FILTER_SRC 0x1 /**< Filter incoming UDP packets -