Don't compile RTSP_DEMUXER if not requested

Originally committed as revision 8841 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Alex Beregszaszi 18 years ago
parent e7047005cb
commit 9686292664
  1. 2
      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)
{

Loading…
Cancel
Save