diff rtsp.c @ 2054:9f93361c3dc2 libavformat

Don't compile RTSP_DEMUXER if not requested
author alex
date Thu, 26 Apr 2007 23:41:20 +0000
parents 4611fce2f394
children b4d5d85d6d0b
line wrap: on
line diff
--- a/rtsp.c	Thu Apr 26 23:40:36 2007 +0000
+++ b/rtsp.c	Thu Apr 26 23:41:20 2007 +0000
@@ -1282,6 +1282,7 @@
     return 0;
 }
 
+#ifdef CONFIG_RTSP_DEMUXER
 AVInputFormat rtsp_demuxer = {
     "rtsp",
     "RTSP input format",
@@ -1295,6 +1296,7 @@
     .read_play = rtsp_read_play,
     .read_pause = rtsp_read_pause,
 };
+#endif
 
 static int sdp_probe(AVProbeData *p1)
 {