From: Lukáš Lalinský Date: Fri, 22 Jan 2010 13:28:14 +0000 (+0000) Subject: MP4 int pair atoms should have flags set to 0 X-Git-Tag: v1.6.2~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d3943177678edec3ef333274451bb0a51914921f;p=taglib MP4 int pair atoms should have flags set to 0 git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1078611 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- diff --git a/taglib/mp4/mp4tag.cpp b/taglib/mp4/mp4tag.cpp index 1de94eb5..ecffbef4 100644 --- a/taglib/mp4/mp4tag.cpp +++ b/taglib/mp4/mp4tag.cpp @@ -270,7 +270,7 @@ MP4::Tag::renderIntPair(const ByteVector &name, MP4::Item &item) ByteVector::fromShort(item.toIntPair().first) + ByteVector::fromShort(item.toIntPair().second) + ByteVector(2, '\0')); - return renderData(name, 0x15, data); + return renderData(name, 0x00, data); } ByteVector @@ -280,7 +280,7 @@ MP4::Tag::renderIntPairNoTrailing(const ByteVector &name, MP4::Item &item) data.append(ByteVector(2, '\0') + ByteVector::fromShort(item.toIntPair().first) + ByteVector::fromShort(item.toIntPair().second)); - return renderData(name, 0x15, data); + return renderData(name, 0x00, data); } ByteVector