Commit 2ba462a2 authored by bcoudurier's avatar bcoudurier

do not call av_find_stream_info if stream is ffm, should fix stalling

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18104 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 3b72d12d
......@@ -2002,7 +2002,7 @@ static int open_input_stream(HTTPContext *c, const char *info)
}
s->flags |= AVFMT_FLAG_GENPTS;
c->fmt_in = s;
if (av_find_stream_info(c->fmt_in) < 0) {
if (strcmp(s->iformat->name, "ffm") && av_find_stream_info(c->fmt_in) < 0) {
http_log("Could not find stream info '%s'\n", input_filename);
av_close_input_file(s);
return -1;
......
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