[Vorbis] ov_open() vs. ov_test() failures
Robert Hui
legatek at gmail.com
Tue Oct 18 15:20:55 PDT 2005
Hi,
Just wanted to clear up a minor ambiguity. For ov_open(), on failure, the
file needs to be closed by fclose() instead of ov_clear().
Is this the same case on failure for ov_test(), or is ov_clear() used for
both a success and failure with ov_test()?
The documentation suggests that ov_clear() is always used, but it seemed
odd seeing the ov_open() documentation state the failure exception.
- Robert Hui
More information about the Vorbis
mailing list