aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2007-04-26 23:40:36 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2007-04-26 23:40:36 +0000
commite7047005cbe5cbfba6ddc764437457b6a6d72c21 (patch)
tree8fdfea0e4b211583dbaa9e0e28e2c9a7dc2d7ac3 /libavformat/utils.c
parent6a4970abd15ddf45e0f8c0bed0ca00950707d83e (diff)
downloadffmpeg-e7047005cbe5cbfba6ddc764437457b6a6d72c21.tar.gz
properly compile code for REDIR_DEMUXER
Originally committed as revision 8840 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index ad1e50e3e9..a4a78ba975 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -452,7 +452,7 @@ int av_open_input_file(AVFormatContext **ic_ptr, const char *filename,
}
/* 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);