diff options
Diffstat (limited to 'src/metadata/rmff')
-rw-r--r-- | src/metadata/rmff/rmff.cpp | 4 | ||||
-rw-r--r-- | src/metadata/rmff/rmff.h | 4 | ||||
-rw-r--r-- | src/metadata/rmff/taglib_realmediafile.cpp | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/metadata/rmff/rmff.cpp b/src/metadata/rmff/rmff.cpp index da0edd5..fb937aa 100644 --- a/src/metadata/rmff/rmff.cpp +++ b/src/metadata/rmff/rmff.cpp @@ -91,12 +91,12 @@ String RealMediaFF::genre() const return !m_err && m_id3v1tag ? m_id3v1tag->tag()->genre() : ""; } -TagLib::uint RealMediaFF::year() const +uint RealMediaFF::year() const { return !m_err && m_id3v1tag ? m_id3v1tag->tag()->year() : 0; } -TagLib::uint RealMediaFF::track() const +uint RealMediaFF::track() const { return !m_err && m_id3v1tag ? m_id3v1tag->tag()->track() : 0; } diff --git a/src/metadata/rmff/rmff.h b/src/metadata/rmff/rmff.h index f35f619..863c18e 100644 --- a/src/metadata/rmff/rmff.h +++ b/src/metadata/rmff/rmff.h @@ -269,8 +269,8 @@ namespace TagLib TagLib::String album () const; TagLib::String comment () const; TagLib::String genre () const; - TagLib::uint year () const; - TagLib::uint track () const; + uint year () const; + uint track () const; // TODO write support //void setTitle (const String &s); //void setArtist (const String &s); diff --git a/src/metadata/rmff/taglib_realmediafile.cpp b/src/metadata/rmff/taglib_realmediafile.cpp index b28c846..ec1c143 100644 --- a/src/metadata/rmff/taglib_realmediafile.cpp +++ b/src/metadata/rmff/taglib_realmediafile.cpp @@ -78,12 +78,12 @@ String RealMedia::Tag::genre () const return m_rmff->genre(); } -TagLib::uint RealMedia::Tag::year () const +uint RealMedia::Tag::year () const { return m_rmff->year(); } -TagLib::uint RealMedia::Tag::track () const +uint RealMedia::Tag::track () const { return m_rmff->track(); } |