diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2010-08-23 18:46:59 +0400 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2010-08-23 18:46:59 +0400 |
commit | c4ab519e0076ccbde2ea6a6e4e68916c84c6fc5d (patch) | |
tree | 7021032767bc85efa1de51b008554b9be0f6bf55 /ffmpeg.c | |
parent | 7f50caa75902a5a3ae1d3226123a20ec3b597669 (diff) |
Make "-fs ss" mean "make output file of size equals or less than ss"
instead of current "make output file of size less than ss".
Also use it to make MP3 tests more readable (using -fs xxx where xxx is
the requested output size, not something slightly lower).
Originally committed as revision 24884 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2538,7 +2538,7 @@ static int transcode(AVFormatContext **output_files, } /* finish if limit size exhausted */ - if (limit_filesize != 0 && limit_filesize < url_ftell(output_files[0]->pb)) + if (limit_filesize != 0 && limit_filesize <= url_ftell(output_files[0]->pb)) break; /* read a frame from it and output it in the fifo */ |