Do not delete the IOStream object in TagLib::File

This commit is contained in:
Lukáš Lalinský
2012-09-06 19:43:52 +02:00
parent e37f6ed752
commit f11b206fe8
20 changed files with 70 additions and 5 deletions

View File

@ -91,6 +91,9 @@ namespace TagLib {
* Contructs an WavPack file from \a file. If \a readProperties is true the
* file's audio properties will also be read using \a propertiesStyle. If
* false, \a propertiesStyle is ignored.
*
* \note TagLib will *not* take ownership of the stream, the caller is
* responsible for deleting it after the File object.
*/
File(IOStream *stream, bool readProperties = true,
Properties::ReadStyle propertiesStyle = Properties::Average);