diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2007-04-26 23:41:20 +0000 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2007-04-26 23:41:20 +0000 |
commit | 9686292664bfd1124a4a01c1cd2e697f55525f58 (patch) | |
tree | bc9f1d239151388cfc7a03f361e0a14aa16b93c2 /libavformat | |
parent | e7047005cbe5cbfba6ddc764437457b6a6d72c21 (diff) | |
download | ffmpeg-streaming-9686292664bfd1124a4a01c1cd2e697f55525f58.zip ffmpeg-streaming-9686292664bfd1124a4a01c1cd2e697f55525f58.tar.gz |
Don't compile RTSP_DEMUXER if not requested
Originally committed as revision 8841 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/rtsp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 17fe297..2a7f7eb 100644 --- a/libavformat/rtsp.c +++ b/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) { |