aboutsummaryrefslogtreecommitdiffstats
path: root/taglib/mpc
diff options
context:
space:
mode:
authorLukáš Lalinský <lalinsky@gmail.com>2012-09-06 19:43:52 +0200
committerLukáš Lalinský <lalinsky@gmail.com>2012-09-06 19:43:52 +0200
commitf11b206fe8643048c935e4cc86c1ec930e519809 (patch)
tree21f1401cdde6950ad022288230076b25e98602ac /taglib/mpc
parente37f6ed7525b62befd71bb1b692ff712198a984d (diff)
Do not delete the IOStream object in TagLib::File
Diffstat (limited to 'taglib/mpc')
-rw-r--r--taglib/mpc/mpcfile.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/taglib/mpc/mpcfile.h b/taglib/mpc/mpcfile.h
index 61ac6d67..167b768e 100644
--- a/taglib/mpc/mpcfile.h
+++ b/taglib/mpc/mpcfile.h
@@ -95,6 +95,9 @@ namespace TagLib {
* Contructs an MPC 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);