From 5a63f3d2cdc0f011239b9e6acf7178da70461a10 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 17 Oct 2013 11:03:03 +0000 Subject: mad: added id3v2-based replaygain tags support git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3806 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/mad/mpegmetadatamodel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/Input/mad/mpegmetadatamodel.cpp') diff --git a/src/plugins/Input/mad/mpegmetadatamodel.cpp b/src/plugins/Input/mad/mpegmetadatamodel.cpp index c7a367fc8..0fb6d674a 100644 --- a/src/plugins/Input/mad/mpegmetadatamodel.cpp +++ b/src/plugins/Input/mad/mpegmetadatamodel.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2009 by Ilya Kotov * + * Copyright (C) 2009-2013 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -119,7 +119,7 @@ QPixmap MPEGMetaDataModel::cover() for(TagLib::ID3v2::FrameList::Iterator it = frames.begin(); it != frames.end(); ++it) { - TagLib::ID3v2::AttachedPictureFrame *frame = static_cast(*it); + TagLib::ID3v2::AttachedPictureFrame *frame = dynamic_cast(*it); if(frame && frame->type() == TagLib::ID3v2::AttachedPictureFrame::FrontCover) { QPixmap cover; -- cgit v1.2.3-13-gbd6f