[FFmpeg-cvslog] r10148 - trunk/ffserver.c

lucabe subversion
Mon Aug 20 09:17:39 CEST 2007


Author: lucabe
Date: Mon Aug 20 09:17:39 2007
New Revision: 10148

Log:
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)


Modified:
   trunk/ffserver.c

Modified: trunk/ffserver.c
==============================================================================
--- trunk/ffserver.c	(original)
+++ trunk/ffserver.c	Mon Aug 20 09:17:39 2007
@@ -1917,6 +1917,7 @@ static int open_input_stream(HTTPContext
         return -1;
     }
     c->fmt_in = s;
+    av_find_stream_info(c->fmt_in);
 
     /* open each parser */
     for(i=0;i<s->nb_streams;i++)




More information about the ffmpeg-cvslog mailing list