Browse Source

Don't compile RTSP_DEMUXER if not requested

Originally committed as revision 8841 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Alex Beregszaszi 19 years ago
parent
commit
9686292664
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavformat/rtsp.c

+ 2
- 0
libavformat/rtsp.c View File

@@ -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