Snow 1pass ratecontrol
Originally committed as revision 5416 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
4
ffmpeg.c
4
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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user