freebsd-ports/multimedia/m2vrequantiser/files/patch-main.c
Juergen Lock 39e880b1ed Requantize MPEG-2 streams without recompressing. M2VRequantiser
accepts raw MPEG2 video data (not VOB) from standard input and
writes the recompressed frames to standard output.

Usage is :
	M2VRequantiser recompression_factor inputM2Vsize <input.m2v >output.m2v

WWW: https://launchpad.net/m2vrequantiser
2011-09-16 18:34:01 +00:00

11 lines
280 B
C

--- a/main.c
+++ b/main.c
@@ -2315,7 +2315,7 @@ int main (int argc, const char * argv[])
if (argc < 5) { USAGE }
delta_bright = atoi(argv[4]);
#else
- if (argc < 2) { USAGE }
+ if (argc < 3) { USAGE }
#endif
fact_x = atof(argv[1]);
sscanf(argv[2], "%lld", &orim2vsize);