Originally committed as revision 18104 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier authored on 2009/03/21 18:58:07... | ... |
@@ -2002,7 +2002,7 @@ static int open_input_stream(HTTPContext *c, const char *info) |
2002 | 2002 |
} |
2003 | 2003 |
s->flags |= AVFMT_FLAG_GENPTS; |
2004 | 2004 |
c->fmt_in = s; |
2005 |
- if (av_find_stream_info(c->fmt_in) < 0) { |
|
2005 |
+ if (strcmp(s->iformat->name, "ffm") && av_find_stream_info(c->fmt_in) < 0) { |
|
2006 | 2006 |
http_log("Could not find stream info '%s'\n", input_filename); |
2007 | 2007 |
av_close_input_file(s); |
2008 | 2008 |
return -1; |