/* */ }
/* */
/* */ private static int allocate(Movie paramMovie, int paramInt)
/* */ throws StdQTException, QDException
/* */ {
/* 129 */ QDRect localQDRect = paramMovie.getBounds();
/* 130 */ int i = 0;
/* */
/* 132 */ synchronized (QTNative.globalsLock) {
/* 133 */ if ((QTSession.isCurrentOS(1)) || (QTSession.isCurrentOS(4)))
/* 134 */ GetGWorld(savedPort, savedDevice);
/* 135 */ i = NewMovieController(QTObject.ID(paramMovie), localQDRect.getRect(), paramInt | 0x1);
/* 136 */ if ((QTSession.isCurrentOS(1)) || (QTSession.isCurrentOS(4))) {
/* 137 */ SetGWorld(savedPort[0], savedDevice[0]);
/* */ }
/* */ }
/* 140 */ StdQTException.checkError(GetMoviesError());