From dd4adf94ced99142dcddd7a943b7742a979ec402 Mon Sep 17 00:00:00 2001 From: Tsuda Kageyu Date: Mon, 6 Feb 2017 10:06:10 +0900 Subject: [PATCH] Fix wrong endian of boolean values when saving ASF files. --- taglib/asf/asfattribute.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/taglib/asf/asfattribute.cpp b/taglib/asf/asfattribute.cpp index ec909fe8..6faf7973 100644 --- a/taglib/asf/asfattribute.cpp +++ b/taglib/asf/asfattribute.cpp @@ -281,10 +281,10 @@ ByteVector ASF::Attribute::render(const String &name, int kind) const case BoolType: if(kind == 0) { - data.append(ByteVector::fromUInt(toBool())); + data.append(ByteVector::fromUInt(toBool(), false)); } else { - data.append(ByteVector::fromShort(toBool())); + data.append(ByteVector::fromShort(toBool(), false)); } break;