[Gridflow-cvs] [svn] commit: r4313 - /trunk/format/quicktimehw.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Fri Oct 23 19:47:01 EDT 2009


Author: matju
Date: Fri Oct 23 19:47:00 2009
New Revision: 4313

Log:
const fix i made a while ago and forgot to commit

Modified:
    trunk/format/quicktimehw.c

Modified: trunk/format/quicktimehw.c
==============================================================================
--- trunk/format/quicktimehw.c (original)
+++ trunk/format/quicktimehw.c Fri Oct 23 19:47:00 2009
@@ -2,7 +2,7 @@
 	$Id$
 
 	GridFlow
-	Copyright (c) 2001-2008 by Mathieu Bouchard
+	Copyright (c) 2001-2009 by Mathieu Bouchard
 
 	This program is free software; you can redistribute it and/or
 	modify it under the terms of the GNU General Public License
@@ -46,7 +46,8 @@
 	int jpeg_quality; // in theory we shouldn't need this, but...
 	~FormatQuickTimeHW() {if (anim) quicktime_close(anim);}
 	\constructor (t_symbol *mode, string filename) {
-		track=0; dim=0; codec=QUICKTIME_RAW; started=false; force=0; framerate=29.97; bit_packing=0; jpeg_quality=75;
+		track=0; dim=0; codec=const_cast<char *>(QUICKTIME_RAW);
+		started=false; force=0; framerate=29.97; bit_packing=0; jpeg_quality=75;
 // libquicktime may be nice, but it won't take a filehandle, only filename
 		filename = gf_find_file(filename);
 		anim = quicktime_open((char *)filename.data(),mode==gensym("in"),mode==gensym("out"));



More information about the Gridflow-cvs mailing list