diff --git a/mpeg/id3v2/id3v2frame.cpp b/mpeg/id3v2/id3v2frame.cpp index f58e3500..fc090fef 100644 --- a/mpeg/id3v2/id3v2frame.cpp +++ b/mpeg/id3v2/id3v2frame.cpp @@ -168,7 +168,9 @@ ByteVector Frame::fieldData(const ByteVector &frameData) const } #if HAVE_ZLIB - if(d->header->compression()) { + if(d->header->compression() && + !d->header->encryption()) + { ByteVector data(frameDataLength); uLongf uLongTmp = frameDataLength; ::uncompress((Bytef *) data.data(),