Remove recording_time check which is no longer necessary after r21687.
authorWolfram Gloger <wmglo@dent.med.uni-muenchen.de>
Thu, 11 Feb 2010 21:54:09 +0000 (21:54 +0000)
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Thu, 11 Feb 2010 21:54:09 +0000 (21:54 +0000)
Patch by Wolfram Gloger, wmglo A dent D med D uni-muenchen D de

Originally committed as revision 21760 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index 7644530..cb53bfc 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2252,10 +2252,6 @@ static int av_encode(AVFormatContext **output_files,
             break;
         }
 
-        /* finish if recording time exhausted */
-        if (opts_min >= (recording_time / 1000000.0))
-            break;
-
         /* finish if limit size exhausted */
         if (limit_filesize != 0 && limit_filesize < url_ftell(output_files[0]->pb))
             break;