summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/rtsp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 17fe297a9c..2a7f7eb4da 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -1282,6 +1282,7 @@ static int rtsp_read_close(AVFormatContext *s)
return 0;
}
+#ifdef CONFIG_RTSP_DEMUXER
AVInputFormat rtsp_demuxer = {
"rtsp",
"RTSP input format",
@@ -1295,6 +1296,7 @@ AVInputFormat rtsp_demuxer = {
.read_play = rtsp_read_play,
.read_pause = rtsp_read_pause,
};
+#endif
static int sdp_probe(AVProbeData *p1)
{