r633 - in trunk: . mjpegtools

jim at linuxfromscratch.org jim at linuxfromscratch.org
Tue Sep 7 23:23:56 PDT 2004


Author: jim
Date: 2004-09-08 00:23:55 -0600 (Wed, 08 Sep 2004)
New Revision: 633

Added:
   trunk/mjpegtools/
   trunk/mjpegtools/mjpegtools-1.6.2-gcc34-1.patch
Log:
Added: mjpegtools-1.6.2-gcc34-1.patch

Added: trunk/mjpegtools/mjpegtools-1.6.2-gcc34-1.patch
===================================================================
--- trunk/mjpegtools/mjpegtools-1.6.2-gcc34-1.patch	2004-09-08 04:41:05 UTC (rev 632)
+++ trunk/mjpegtools/mjpegtools-1.6.2-gcc34-1.patch	2004-09-08 06:23:55 UTC (rev 633)
@@ -0,0 +1,35 @@
+Submitted By:            Randy McMurchy <randy_at_linuxfromscratch_dot_org>
+Date:                    2004-09-05
+Initial Package Version: 1.6.2
+Upstream Status:         Not submitted 
+Origin:                  Randy McMurchy
+Description:             Fixes GCC-3.4.x related build problems
+
+diff -Naur mjpegtools-1.6.2-orig/lavtools/lavpipe.c mjpegtools-1.6.2/lavtools/lavpipe.c
+--- mjpegtools-1.6.2-orig/lavtools/lavpipe.c	2002-09-23 19:46:43.000000000 +0000
++++ mjpegtools-1.6.2/lavtools/lavpipe.c	2004-09-05 08:21:29.657789696 +0000
+@@ -582,6 +582,7 @@
+       mjpeg_info( "closing input %d (source %d)", i, current_index);
+       decommission_pipe_source(source);
+     KEEP_SOURCE:
++                ;
+     }
+   }
+ }
+
+diff -Naur mjpegtools-1.6.2-orig/mpeg2enc/picture.cc mjpegtools-1.6.2/mpeg2enc/picture.cc
+--- mjpegtools-1.6.2-orig/mpeg2enc/picture.cc	2003-10-25 17:36:32.000000000 +0000
++++ mjpegtools-1.6.2/mpeg2enc/picture.cc	2004-09-05 08:42:02.088431760 +0000
+@@ -83,9 +83,9 @@
+     }
+ 
+ 
+-	curref = new (uint8_t *)[5];
+-	curorg = new (uint8_t *)[5];
+-	pred   = new (uint8_t *)[5];
++	curref = new uint8_t *[5];
++	curorg = new uint8_t *[5];
++	pred   = new uint8_t *[5];
+ 
+ 	for( i = 0 ; i<3; i++)
+ 	{




More information about the patches mailing list