diff --git a/taglib/asf/asfattribute.cpp b/taglib/asf/asfattribute.cpp index ca31c6d9..87d53dbc 100644 --- a/taglib/asf/asfattribute.cpp +++ b/taglib/asf/asfattribute.cpp @@ -248,8 +248,9 @@ int ASF::Attribute::dataSize() const case UnicodeType: return d->stringValue.size() * 2 + 2; case BytesType: - if(d->pictureValue.isValid()) + if(d->pictureValue.isValid()) { return d->pictureValue.dataSize(); + } break; case GuidType: return d->byteVectorValue.size(); @@ -290,8 +291,8 @@ ByteVector ASF::Attribute::render(const String &name, int kind) const case BytesType: if(d->pictureValue.isValid()) { data.append(d->pictureValue.render()); - break; } + break; case GuidType: data.append(d->byteVectorValue); break;