Commit 96862926 authored by Alex Beregszaszi's avatar Alex Beregszaszi

Don't compile RTSP_DEMUXER if not requested

Originally committed as revision 8841 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent e7047005
...@@ -1282,6 +1282,7 @@ static int rtsp_read_close(AVFormatContext *s) ...@@ -1282,6 +1282,7 @@ static int rtsp_read_close(AVFormatContext *s)
return 0; return 0;
} }
#ifdef CONFIG_RTSP_DEMUXER
AVInputFormat rtsp_demuxer = { AVInputFormat rtsp_demuxer = {
"rtsp", "rtsp",
"RTSP input format", "RTSP input format",
...@@ -1295,6 +1296,7 @@ AVInputFormat rtsp_demuxer = { ...@@ -1295,6 +1296,7 @@ AVInputFormat rtsp_demuxer = {
.read_play = rtsp_read_play, .read_play = rtsp_read_play,
.read_pause = rtsp_read_pause, .read_pause = rtsp_read_pause,
}; };
#endif
static int sdp_probe(AVProbeData *p1) static int sdp_probe(AVProbeData *p1)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment