Rect   movieRect = {0}; ::SetMovieBox(mMovie, &movieRect);
{ Rect   movieRect = {0}; ::SetMovieBox(mMovie, &movieRect); }
nsMovieSoundRequest::ImportMovie(Handle inDataHandle, long inDataSize, const nsACString& contentType){  Handle                  dataRef = nil;  OSErr                   err = noErr;  OSType                  fileFormat;    {    StHandleLocker  locker(inDataHandle);    fileFormat = GetFileFormat(*inDataHandle, inDataSize, contentType);  }  err = ::PtrToHand(&inDataHandle, &dataRef, sizeof(Handle));  if (err != noErr)    return err;  {    MovieImportComponent  miComponent = ::OpenDefaultComponent(MovieImportType, fileFormat);    Track                 targetTrack = nil;    TimeValue             addedDuration = 0;    long                  outFlags = 0;    ComponentResult       compErr = noErr;    if (!miComponent) {      err = paramErr;      goto bail;    }        NS_ASSERTION(mMovie == nsnull, "nsMovieSoundRequest already has movie");    mMovie = ::NewMovie(0);    if (!mMovie) {      err = ::GetMoviesError();      goto bail;    }    compErr = ::MovieImportDataRef(miComponent,                                dataRef,                                HandleDataHandlerSubType,                                mMovie,                                nil,                                &targetTrack,                                nil,                                &addedDuration,                                movieImportCreateTrack,                                &outFlags);    if (compErr != noErr) {      ::DisposeMovie(mMovie);      mMovie = nil;      err = compErr;      goto bail;    }    // ensure that the track never draws on screen, otherwise we might be    // suspecptible to spoofing attacks    Rect   movieRect = {0};    ::SetMovieBox(mMovie, &movieRect);        ::GoToEndOfMovie(mMovie);   // simplifies the logic in PlaySound()      bail:    if (miComponent)      ::CloseComponent(miComponent);  }  if (dataRef)    ::DisposeHandle(dataRef);    return err;}