Make sure that we don't preserve the unsynchronization flag since we don't

write unsynchronized data.

BUG:157166


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@771680 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
Scott Wheeler 2008-02-06 18:04:40 +00:00
parent 2644c529a5
commit e4f7a9ec1e
2 changed files with 4 additions and 3 deletions

View File

@ -381,7 +381,7 @@ namespace TagLib {
#endif
/*!
* Returns true if unsyncronisation is enabled for this frame.
* Returns true if unsynchronisation is enabled for this frame.
*/
bool unsynchronisation() const;

View File

@ -167,11 +167,12 @@ ByteVector Header::render() const
v.append(char(4));
v.append(char(0));
// Currently we don't actually support writing extended headers or footers, so
// make sure that the flags are set accordingly.
// Currently we don't actually support writing extended headers, footers or
// unsynchronized tags, make sure that the flags are set accordingly.
d->extendedHeader = false;
d->footerPresent = false;
d->unsynchronisation = false;
// render and add the flags
std::bitset<8> flags;