aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorLoren Merritt <lorenm@u.washington.edu>2006-05-28 12:38:10 +0000
committerLoren Merritt <lorenm@u.washington.edu>2006-05-28 12:38:10 +0000
commit4e64beadf089534c27d5cf42230308af1d1b88c3 (patch)
tree1a86514647985c3f0533205f60d0cbbddc4f86ff /ffmpeg.c
parentac2750ec796bed25e7f995a1ff2850d382269a8a (diff)
downloadffmpeg-4e64beadf089534c27d5cf42230308af1d1b88c3.tar.gz
Snow 1pass ratecontrol
Originally committed as revision 5416 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 0a10114533..348bab084d 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2402,9 +2402,9 @@ static void opt_pre_me(const char *arg)
static void opt_qscale(const char *arg)
{
video_qscale = atof(arg);
- if (video_qscale < 0.01 ||
+ if (video_qscale <= 0 ||
video_qscale > 255) {
- fprintf(stderr, "qscale must be >= 0.01 and <= 255\n");
+ fprintf(stderr, "qscale must be > 0.0 and <= 255\n");
exit(1);
}
}