Commit 40ba18e7 authored by alex's avatar alex

Don't compile RTSP_DEMUXER if not requested

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8841 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0a8f34b0
...@@ -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