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

@ -48,6 +48,9 @@ namespace TagLib {
* Contructs a Extended Module file from \a stream. 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,
AudioProperties::ReadStyle propertiesStyle =