aboutsummaryrefslogtreecommitdiffstats
path: root/taglib/ogg/vorbis/vorbisfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'taglib/ogg/vorbis/vorbisfile.cpp')
-rw-r--r--taglib/ogg/vorbis/vorbisfile.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/taglib/ogg/vorbis/vorbisfile.cpp b/taglib/ogg/vorbis/vorbisfile.cpp
index 1098ec38..60056f83 100644
--- a/taglib/ogg/vorbis/vorbisfile.cpp
+++ b/taglib/ogg/vorbis/vorbisfile.cpp
@@ -68,6 +68,13 @@ Vorbis::File::File(FileName file, bool readProperties,
read(readProperties, propertiesStyle);
}
+Vorbis::File::File(IOStream *stream, bool readProperties,
+ Properties::ReadStyle propertiesStyle) : Ogg::File(stream)
+{
+ d = new FilePrivate;
+ read(readProperties, propertiesStyle);
+}
+
Vorbis::File::~File()
{
delete d;