Revision e8acf0ed libavformat/utils.c

View differences:

libavformat/utils.c
464 464
        goto fail;
465 465
    }
466 466

  
467
    /* XXX: suppress this hack for redirectors */
468
#ifdef CONFIG_REDIR_DEMUXER
469
    if (!strcmp(fmt->name, "redir")) {
470
        int redir_open(AVFormatContext **ic_ptr, ByteIOContext *f);
471
        err = redir_open(ic_ptr, pb);
472
        url_fclose(pb);
473
        return err;
474
    }
475
#endif
476

  
477 467
    /* check filename in case of an image number is expected */
478 468
    if (fmt->flags & AVFMT_NEEDNUMBER) {
479 469
        if (!av_filename_number_test(filename)) {

Also available in: Unified diff