Displaying 1 result from an estimated 1 matches for "crop_value".
Did you mean:
col_value
2004 Nov 20
0
ffmpeg2theora start and end time support
...; 0)
ar = (double)x / (double)y;
} else
ar = strtod(arg, (char **)&arg);
if (!ar) {
fprintf(stderr, "Incorrect aspect ratio specification.\n");
exit(1);
}
return ar;
}
int crop_check(ff2theora this, char *name, const char *arg)
{
int crop_value = atoi(arg);
if (crop_value < 0) {
fprintf(stderr, "Incorrect %s crop size\n",name);
exit(1);
}
if ((crop_value % 2) != 0) {
fprintf(stderr, "%s crop size must be a multiple of 2\n",name);
exit(1);
}
/*
if ((crop_value) &g...