diff utils.c @ 2785:d3b3cfb538d8 libavformat

Suppress the "redirector hack" from libavformat/utils.c:av_open_input_stream(), and implement the redirector format more properly.
author lucabe
date Thu, 29 Nov 2007 08:35:05 +0000
parents d52c718e83f9
children 173b5cb7efde
line wrap: on
line diff
--- a/utils.c	Wed Nov 28 19:51:59 2007 +0000
+++ b/utils.c	Thu Nov 29 08:35:05 2007 +0000
@@ -464,16 +464,6 @@
         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)) {