diff options
Diffstat (limited to 'taglib/flac/flacfile.cpp')
-rw-r--r-- | taglib/flac/flacfile.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/taglib/flac/flacfile.cpp b/taglib/flac/flacfile.cpp index f882ae7b..058fa786 100644 --- a/taglib/flac/flacfile.cpp +++ b/taglib/flac/flacfile.cpp @@ -119,6 +119,15 @@ FLAC::File::File(FileName file, ID3v2::FrameFactory *frameFactory, read(readProperties, propertiesStyle); } +FLAC::File::File(IOStream *stream, ID3v2::FrameFactory *frameFactory, + bool readProperties, Properties::ReadStyle propertiesStyle) : + TagLib::File(stream) +{ + d = new FilePrivate; + d->ID3v2FrameFactory = frameFactory; + read(readProperties, propertiesStyle); +} + FLAC::File::~File() { delete d; |