Commit cf205eeb authored by bellard's avatar bellard

added handling of URL redirectors (needed for RTSP streaming client)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1253 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5fa920e7
......@@ -353,6 +353,14 @@ int av_open_input_file(AVFormatContext **ic_ptr, const char *filename,
goto fail;
}
/* XXX: suppress this hack for redirectors */
if (fmt == &redir_demux) {
err = redir_open(ic_ptr, &ic->pb);
url_fclose(&ic->pb);
av_free(ic);
return err;
}
ic->iformat = fmt;
/* allocate private data */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment