fixing pipe seek bug
Originally committed as revision 3730 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
		@@ -1617,7 +1617,7 @@ static void av_estimate_timings(AVFormatContext *ic)
 | 
			
		||||
    }
 | 
			
		||||
    ic->file_size = file_size;
 | 
			
		||||
 | 
			
		||||
    if (ic->iformat == &mpegps_demux) {
 | 
			
		||||
    if (ic->iformat == &mpegps_demux && file_size && !ic->pb.is_streamed) {
 | 
			
		||||
        /* get accurate estimate from the PTSes */
 | 
			
		||||
        av_estimate_timings_from_pts(ic);
 | 
			
		||||
    } else if (av_has_timings(ic)) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user