Make sure that these flags are set to the values that are actually used.

BUG:132191


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@578697 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
Scott Wheeler
2006-08-29 23:19:21 +00:00
parent f8d1b7bb4f
commit ea12745d12
2 changed files with 8 additions and 2 deletions

View File

@ -158,6 +158,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.
d->extendedHeader = false;
d->footerPresent = false;
// render and add the flags
std::bitset<8> flags;

View File

@ -128,8 +128,8 @@ namespace TagLib {
static ByteVector fileIdentifier();
/*!
* Sets the data that will be used as the extended header. 10 bytes,
* starting from \a data will be used.
* Sets the data that will be used as the header. 10 bytes, starting from
* the beginning of \a data are used.
*/
void setData(const ByteVector &data);