tags..

Kyle gonemad at gmail.com
Wed Aug 17 13:36:38 UTC 2011


ah cool thanks for the tip

2011/8/17 Lukáš Lalinský <lalinsky at gmail.com>

> 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
> _______________________________________________
> taglib-devel mailing list
> taglib-devel at kde.org
> https://mail.kde.org/mailman/listinfo/taglib-devel
>



-- 
-Kyle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20110817/683b5c45/attachment.html>


More information about the taglib-devel mailing list