From 6e0741bcdc7014e609e0b1343eab6f66c46e4a8f Mon Sep 17 00:00:00 2001 From: "Stephen F. Booth" Date: Sun, 17 Dec 2023 17:56:02 -0600 Subject: [PATCH] Fix incorrect commit --- taglib/asf/asfattribute.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/taglib/asf/asfattribute.cpp b/taglib/asf/asfattribute.cpp index 87d53dbc..04e02351 100644 --- a/taglib/asf/asfattribute.cpp +++ b/taglib/asf/asfattribute.cpp @@ -251,7 +251,7 @@ int ASF::Attribute::dataSize() const if(d->pictureValue.isValid()) { return d->pictureValue.dataSize(); } - break; + return d->byteVectorValue.size(); case GuidType: return d->byteVectorValue.size(); } @@ -292,6 +292,9 @@ ByteVector ASF::Attribute::render(const String &name, int kind) const if(d->pictureValue.isValid()) { data.append(d->pictureValue.render()); } + else { + data.append(d->byteVectorValue); + } break; case GuidType: data.append(d->byteVectorValue);