mirror of
https://github.com/taglib/taglib.git
synced 2025-07-17 12:34:23 -04:00
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:
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user