Bug with -F argument fixed
This commit is contained in:
parent
2410db2ae7
commit
0d4a38f3a5
|
@ -332,7 +332,7 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
int c = getopt(argc, argv,
|
int c = getopt(argc, argv,
|
||||||
"i:o:r:q:f:t:n:c:b:x:p:s:d:h:P:S:E:M:R:T:C:I:W:F");
|
"i:o:r:q:f:t:n:c:b:x:p:s:d:h:P:S:E:M:R:T:C:I:W:F:");
|
||||||
if (c == -1)
|
if (c == -1)
|
||||||
break;
|
break;
|
||||||
switch (c) {
|
switch (c) {
|
||||||
|
@ -604,7 +604,7 @@ int main(int argc, char **argv)
|
||||||
/* ------------------------------------------------------ */
|
/* ------------------------------------------------------ */
|
||||||
case 'F': /* Video frame rate */
|
case 'F': /* Video frame rate */
|
||||||
if (sscanf(optarg, "%d", &frame_rate) != 1) {
|
if (sscanf(optarg, "%d", &frame_rate) != 1) {
|
||||||
fprintf(stderr, "-f argument error");
|
fprintf(stderr, "-F argument error");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue