LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File mjpegtools-getopt.patch of Package mjpegtools (Project home:mvaldina)

diff -ur mjpegtools-2.0.0.orig/y4mdenoise/main.c mjpegtools-2.0.0/y4mdenoise/main.c
--- mjpegtools-2.0.0.orig/y4mdenoise/main.c	2010-07-25 22:06:56.000000000 +0200
+++ mjpegtools-2.0.0/y4mdenoise/main.c	2011-05-28 14:52:21.763767632 +0200
@@ -274,7 +274,7 @@
 void
 process_commandline(int argc, char *argv[])
 {
-  char c;
+  int c;
 
   while ((c = getopt (argc, argv, "h?z:Z:t:T:r:R:m:M:f:BI:p:v:")) != -1)
   {
diff -ur mjpegtools-2.0.0.orig/yuvdeinterlace/yuvdeinterlace.cc mjpegtools-2.0.0/yuvdeinterlace/yuvdeinterlace.cc
--- mjpegtools-2.0.0.orig/yuvdeinterlace/yuvdeinterlace.cc	2009-09-19 20:16:47.000000000 +0200
+++ mjpegtools-2.0.0/yuvdeinterlace/yuvdeinterlace.cc	2011-05-28 14:53:14.191273843 +0200
@@ -923,7 +923,7 @@
 
   deinterlacer YUVdeint;
 
-  char c;
+  int c;
 
   YUVdeint.field_order = -1;