]> granicus.if.org Git - taglib/commitdiff
MP4 int pair atoms should have flags set to 0
authorLukáš Lalinský <lalinsky@gmail.com>
Fri, 22 Jan 2010 13:28:14 +0000 (13:28 +0000)
committerLukáš Lalinský <lalinsky@gmail.com>
Fri, 22 Jan 2010 13:28:14 +0000 (13:28 +0000)
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1078611 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

taglib/mp4/mp4tag.cpp

index 1de94eb557b2147e9dfbbfdfc7a62820801cab93..ecffbef411d5f6c05f69cfd681176091cb04e67c 100644 (file)
@@ -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