Weird problem in VS2003 .net
Daniel Schaack
daniel.schaack at education.lu
Mon Jan 31 13:30:10 CET 2011
Here's a code fragment I'm using with TagLib, compiling in VS2003:
pictureFrame = static_cast<TagLib::ID3v2::AttachedPictureFrame *> (listOfMp3Frames.front());
if (pictureFrame)
{
TagLib::ByteVector bv = pictureFrame->picture();
char *data = bv.data();
char *data2 = pictureFrame->picture().data(); // <-- wrong value reported!
The variables data and data2 should actually report the same value, but data2 is wrong, whereas data is correct. Why is that?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/taglib-devel/attachments/20110131/db8c0fac/attachment.htm
More information about the taglib-devel
mailing list