Load attached picture
Scott Wheeler
wheeler at kde.org
Wed May 21 14:04:47 CEST 2008
Daniel Önnerby wrote:
>
> TagLib::ID3v2::AttachedPictureFrame *picture =
> static_cast<TagLib::ID3v2::AttachedPictureFrame*>(pictures.front());
Just a really quick note here -- per the last commit that I CC'ed to the
list, that should be a dynamic_cast. In the (rare) case of an encrypted
frame it will add the frame to the list, but as an UnknownFrame type
rather than the parsed type. (Since encrypted frames aren't supported.)
-Scott
More information about the taglib-devel
mailing list