[SCM] libav/experimental: Don't compile RTSP_DEMUXER if not requested

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:59:17 UTC 2013


The following commit has been merged in the experimental branch:
commit 9686292664bfd1124a4a01c1cd2e697f55525f58
Author: Alex Beregszaszi <alex at rtfs.hu>
Date:   Thu Apr 26 23:41:20 2007 +0000

    Don't compile RTSP_DEMUXER if not requested
    
    Originally committed as revision 8841 to svn://svn.ffmpeg.org/ffmpeg/trunk

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)
 {

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list