Two more quicktime changes for compiling after OSX software update

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

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

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