ext/rmov_ext.h in rmov-0.1.3 vs ext/rmov_ext.h in rmov-0.1.4
- old
+ new
@@ -1,9 +1,12 @@
#include <ruby.h>
#include <QuickTime/QuickTime.h>
extern VALUE eQuickTime, cMovie, cTrack, cExporter;
+
+#define OSTYPE(str) ((str[0] << 24) | (str[1] << 16) | (str[2] << 8) | str[3])
+
/*** MOVIE ***/
void Init_quicktime_movie();
OSErr movie_progress_proc(Movie movie, short message, short operation, Fixed percent, VALUE proc);