Correct enum names in comments in header
Improve error detection and reporting in qtf_flatten_movie_in_place()
- Fix situation in which a file could be left open after an error occurred
- Fix potential return of wrong error identifiers
- Do nothing if a movie is already flattened
- Fix to avoid performing a non-flatten when free space was available after movie data