NOTE: This Technical Note has been retired. Please see the Technical Notes page for current documentation.

Technical Note QT520
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



Developer Documentation | Technical Q&As | Development Kits | Sample Code