diff --git a/taglib/mpeg/id3v2/id3v2frame.cpp b/taglib/mpeg/id3v2/id3v2frame.cpp index 1b1d62ec..629f4d9b 100644 --- a/taglib/mpeg/id3v2/id3v2frame.cpp +++ b/taglib/mpeg/id3v2/id3v2frame.cpp @@ -200,7 +200,7 @@ public: groupingIdentity(false), compression(false), encryption(false), - unsyncronisation(false), + unsynchronisation(false), dataLengthIndicator(false) {} @@ -216,7 +216,7 @@ public: bool groupingIdentity; bool compression; bool encryption; - bool unsyncronisation; + bool unsynchronisation; bool dataLengthIndicator; }; @@ -381,7 +381,7 @@ void Frame::Header::setData(const ByteVector &data, uint version) d->groupingIdentity = flags[6]; // (structure 4.1.2.h) d->compression = flags[3]; // (structure 4.1.2.k) d->encryption = flags[2]; // (structure 4.1.2.m) - d->unsyncronisation = flags[1]; // (structure 4.1.2.n) + d->unsynchronisation = flags[1]; // (structure 4.1.2.n) d->dataLengthIndicator = flags[0]; // (structure 4.1.2.p) } break; @@ -451,7 +451,12 @@ bool Frame::Header::encryption() const bool Frame::Header::unsycronisation() const { - return d->unsyncronisation; + return unsynchronisation(); +} + +bool Frame::Header::unsynchronisation() const +{ + return d->unsynchronisation; } bool Frame::Header::dataLengthIndicator() const diff --git a/taglib/mpeg/id3v2/id3v2frame.h b/taglib/mpeg/id3v2/id3v2frame.h index 38cecf58..892aa126 100644 --- a/taglib/mpeg/id3v2/id3v2frame.h +++ b/taglib/mpeg/id3v2/id3v2frame.h @@ -353,12 +353,14 @@ namespace TagLib { */ bool encryption() const; +#ifndef DO_NOT_DOCUMENT + bool unsycronisation() const; +#endif + /*! * Returns true if unsyncronisation is enabled for this frame. - * - * \note This flag is currently ignored internally in TagLib. */ - bool unsycronisation() const; + bool unsynchronisation() const; /*! * Returns true if the flag for a data length indicator is set.