Two more quicktime changes for compiling after OSX software update

This commit is contained in:
2006-04-05 15:31:21 +00:00
parent 666120ad9a
commit a4c110f8eb
2 changed files with 5 additions and 1 deletions

View File

@@ -269,7 +269,7 @@ static void QT_CreateMyVideoTrack(int rectx, int recty)
qtexport->theTrack = NewMovieTrack (qtexport->theMovie, qtexport->theTrack = NewMovieTrack (qtexport->theMovie,
FixRatio(trackFrame.right,1), FixRatio(trackFrame.right,1),
FixRatio(trackFrame.bottom,1), FixRatio(trackFrame.bottom,1),
kNoVolume); 0);
CheckError( GetMoviesError(), "NewMovieTrack error" ); CheckError( GetMoviesError(), "NewMovieTrack error" );
// SetIdentityMatrix(&myMatrix); // SetIdentityMatrix(&myMatrix);

View File

@@ -360,6 +360,10 @@ void playanim(int argc, char **argv)
#ifdef WITH_QUICKTIME #ifdef WITH_QUICKTIME
#if defined (_WIN32) || defined (__APPLE__) #if defined (_WIN32) || defined (__APPLE__)
/* Initialize QuickTime */ /* Initialize QuickTime */
#ifndef noErr
#define noErr 0
#endif
#ifdef _WIN32 #ifdef _WIN32
if (InitializeQTML(0) != noErr) if (InitializeQTML(0) != noErr)
G.have_quicktime = FALSE; G.have_quicktime = FALSE;