# HG changeset patch # User alex # Date 1177630836 0 # Node ID 4611fce2f39416c77e0aaa75ea75c70d884e95db # Parent 3d04317ab396a4285cf7b9a2b9f3926a61f6e6bf properly compile code for REDIR_DEMUXER diff -r 3d04317ab396 -r 4611fce2f394 rtsp.c --- a/rtsp.c Thu Apr 26 19:27:32 2007 +0000 +++ b/rtsp.c Thu Apr 26 23:40:36 2007 +0000 @@ -1399,6 +1399,7 @@ }; #endif +#ifdef CONFIG_REDIR_DEMUXER /* dummy redirector format (used directly in av_open_input_file now) */ static int redir_probe(AVProbeData *pd) { @@ -1461,3 +1462,4 @@ NULL, NULL, }; +#endif diff -r 3d04317ab396 -r 4611fce2f394 utils.c --- a/utils.c Thu Apr 26 19:27:32 2007 +0000 +++ b/utils.c Thu Apr 26 23:40:36 2007 +0000 @@ -452,7 +452,7 @@ } /* XXX: suppress this hack for redirectors */ -#ifdef CONFIG_NETWORK +#ifdef CONFIG_REDIR_DEMUXER if (fmt == &redir_demuxer) { err = redir_open(ic_ptr, pb); url_fclose(pb);