diff options
author | Luca Abeni <lucabe72@email.it> | 2007-08-20 07:17:39 +0000 |
---|---|---|
committer | Luca Abeni <lucabe72@email.it> | 2007-08-20 07:17:39 +0000 |
commit | 89da5781a14fda580b8c856c51372e2a738945c2 (patch) | |
tree | e7cc8f9740d7cb42a5c498249d6c649e3c65a98d /ffserver.c | |
parent | dd7234725dc7a440c47f12437647896ce2a0ba45 (diff) | |
download | ffmpeg-89da5781a14fda580b8c856c51372e2a738945c2.tar.gz |
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)
Originally committed as revision 10148 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ffserver.c b/ffserver.c index 621e550327..8731f90ed0 100644 --- a/ffserver.c +++ b/ffserver.c @@ -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++) |