From 8c0ceafb0f25da077ff23e394667119f031574fd Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 19 Feb 2016 18:02:45 +0100 Subject: 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. --- libavformat/rtsp.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavformat/rtsp.h') 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 - -- cgit v1.2.3