ADC Home > Reference Library > Technical Notes > Legacy Documents > QuickTime >

Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

QuickTime Overview Q&As

CONTENTS

This Technical Note contains a collection of archived Q&As relating to a specific topic--questions sent the Developer Support Center (DSC) along with answers from the DSC engineers. Current Q&As can be found on the Macintosh Technical Q&As web site.

[May 01 1993]






QuickTime 1.5 and faulty patch of UnloadScrap

Date Written: 11/24/92

Last reviewed: 3/1/93

QuickTime 1.5 introduces a bug in the UnloadScrap call. It patches UnloadScrap so that if the scrap is already unloaded (that is, ScrapHandle is NIL), UnloadScrap immediately returns without setting the return value to noErr. This results in a bogus error code being returned unless I initialize the result beforehand.

Thanks for the bug report about QuickTime 1.5 and its faulty patch of UnloadScrap. Until the bug's fixed, you have a reasonable workaround: setting the result to 0 to begin with.

Back to top

Downloadables

Acrobat gif

Acrobat version of this Note (28K).

Download



Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.