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++)
 	{
