[Gridflow-cvs] [svn] commit: r5460 - /trunk/src/quicktimeapple.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Thu Apr 15 23:12:42 EDT 2010


Author: matju
Date: Thu Apr 15 23:12:42 2010
New Revision: 5460

Log:
fix previous commit

Modified:
    trunk/src/quicktimeapple.cxx

Modified: trunk/src/quicktimeapple.cxx
==============================================================================
--- trunk/src/quicktimeapple.cxx (original)
+++ trunk/src/quicktimeapple.cxx Thu Apr 15 23:12:42 2010
@@ -47,6 +47,7 @@
 	short movie_file;
 	GWorldPtr gw; /* just like an X11 Image or Pixmap, maybe. */
 	uint8 *buffer;
+	uint8 *buf2;
 	P<Dim> dim;
 	int nframe, nframes;
 	P<BitPacking> bit_packing3;
@@ -71,6 +72,7 @@
 		dim = new Dim(r.bottom-r.top, r.right-r.left, 4);
 		SetMoviePlayHints(movie, hintsHighQuality, hintsHighQuality);
 		buffer = new uint8[dim->prod()];
+		buf2 = new uint8[dim->prod()];
 		err = QTNewGWorldFromPtr(&gw, k32ARGBPixelFormat, &r, NULL, NULL, 0, buffer, dim->prod(1));
 		if (err) ERR("QTNewGWorldFromPtr");
 		_0_colorspace(0,0,gensym("rgba"));



More information about the Gridflow-cvs mailing list