Commit 269aac53 authored by lucabe's avatar lucabe

Call av_find_stream_info() immediately after opening an input file.

Needed to avoid reading the same TS two times at the beginning of the
file (whic resulted in an "error, non monotone timestamps..." when
streaming RTP from a file)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10148 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e189dded
......@@ -1917,6 +1917,7 @@ static int open_input_stream(HTTPContext *c, const char *info)
return -1;
}
c->fmt_in = s;
av_find_stream_info(c->fmt_in);
/* open each parser */
for(i=0;i<s->nb_streams;i++)
......
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