2011/8/17 Kyle <gonemad at gmail.com>: > ID3v2::AttachedPictureFrame *f = static_cast<ID3v2::AttachedPictureFrame > *>(l.front()); It's better to use dynamic_cast here, because the result doesn't necessarily have to be ID3v2::AttachedPictureFrame. It can be ID3v2::UnknownFrame, in case the frame was compressed or encrypted and TagLib was not compiled with zlib. Lukas