Mercurial > libavformat.hg
diff rtsp.c @ 4206:c3102b189cb6 libavformat
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.
author | aurel |
---|---|
date | Tue, 13 Jan 2009 23:44:16 +0000 |
parents | 7d2f3f1b68d8 |
children | 77e0c7511d41 |
line wrap: on
line diff
--- a/rtsp.c Tue Jan 13 17:10:10 2009 +0000 +++ b/rtsp.c Tue Jan 13 23:44:16 2009 +0000 @@ -27,7 +27,7 @@ #include "avformat.h" #include <sys/time.h> -#ifdef HAVE_SYS_SELECT_H +#if HAVE_SYS_SELECT_H #include <sys/select.h> #endif #include <strings.h> @@ -1502,7 +1502,7 @@ return 0; } -#ifdef CONFIG_RTSP_DEMUXER +#if CONFIG_RTSP_DEMUXER AVInputFormat rtsp_demuxer = { "rtsp", NULL_IF_CONFIG_SMALL("RTSP input format"), @@ -1595,7 +1595,7 @@ return 0; } -#ifdef CONFIG_SDP_DEMUXER +#if CONFIG_SDP_DEMUXER AVInputFormat sdp_demuxer = { "sdp", NULL_IF_CONFIG_SMALL("SDP"), @@ -1607,7 +1607,7 @@ }; #endif -#ifdef CONFIG_REDIR_DEMUXER +#if CONFIG_REDIR_DEMUXER /* dummy redirector format (used directly in av_open_input_file now) */ static int redir_probe(AVProbeData *pd) {