aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorLuca Abeni <lucabe72@email.it>2007-11-29 08:35:05 +0000
committerLuca Abeni <lucabe72@email.it>2007-11-29 08:35:05 +0000
commite8acf0edeae0b5ef53233c49015b07cc9711f20c (patch)
treeb60038220c76845bd7fb511d8bdb96871a2eb1e0 /libavformat/utils.c
parentfe2b276c2ed6463f3e0db859a10b71addd839cd8 (diff)
downloadffmpeg-e8acf0edeae0b5ef53233c49015b07cc9711f20c.tar.gz
Suppress the "redirector hack" from libavformat/utils.c:av_open_input_stream(),
and implement the redirector format more properly. Originally committed as revision 11112 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index d40a5f3f41..ae1659f4c8 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -464,16 +464,6 @@ int av_open_input_file(AVFormatContext **ic_ptr, const char *filename,
goto fail;
}
- /* XXX: suppress this hack for redirectors */
-#ifdef CONFIG_REDIR_DEMUXER
- if (!strcmp(fmt->name, "redir")) {
- int redir_open(AVFormatContext **ic_ptr, ByteIOContext *f);
- err = redir_open(ic_ptr, pb);
- url_fclose(pb);
- return err;
- }
-#endif
-
/* check filename in case of an image number is expected */
if (fmt->flags & AVFMT_NEEDNUMBER) {
if (!av_filename_number_test(filename)) {