diff options
author | Luca Abeni <lucabe72@email.it> | 2007-11-29 08:35:05 +0000 |
---|---|---|
committer | Luca Abeni <lucabe72@email.it> | 2007-11-29 08:35:05 +0000 |
commit | e8acf0edeae0b5ef53233c49015b07cc9711f20c (patch) | |
tree | b60038220c76845bd7fb511d8bdb96871a2eb1e0 /libavformat/utils.c | |
parent | fe2b276c2ed6463f3e0db859a10b71addd839cd8 (diff) | |
download | ffmpeg-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.c | 10 |
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)) { |