[vlc-commits] Taglib: rename extraction function

Jean-Baptiste Kempf git at videolan.org
Fri Oct 16 19:08:55 CEST 2015


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Oct 16 18:18:35 2015 +0200| [265b0886930c889e16b67e64ddf51176c1710be7] | committer: Jean-Baptiste Kempf

Taglib: rename extraction function

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=265b0886930c889e16b67e64ddf51176c1710be7
---

 modules/meta_engine/taglib.cpp |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/meta_engine/taglib.cpp b/modules/meta_engine/taglib.cpp
index fa9b79c..02ba794 100644
--- a/modules/meta_engine/taglib.cpp
+++ b/modules/meta_engine/taglib.cpp
@@ -114,7 +114,7 @@ vlc_module_end ()
 
 using namespace TagLib;
 
-static void ExtractTrackNumberValues( vlc_meta_t* p_meta, const char *psz_value,
+static void ExtractCoupleNumberValues( vlc_meta_t* p_meta, const char *psz_value,
         vlc_meta_type_t first, vlc_meta_type_t second)
 {
     unsigned int i_trknum, i_trktot;
@@ -215,7 +215,7 @@ static void ReadMetaFromAPE( APE::Tag* tag, demux_meta_t* p_demux_meta, vlc_meta
     iter = fields.find( "TRACK" );
     if( iter != fields.end() && !iter->second.isEmpty() )
     {
-        ExtractTrackNumberValues( p_meta, iter->second.toString().toCString( true ),
+        ExtractCoupleNumberValues( p_meta, iter->second.toString().toCString( true ),
                 vlc_meta_TrackNumber, vlc_meta_TrackTotal );
         fields.erase( iter );
     }
@@ -385,7 +385,7 @@ static void ReadMetaFromId3v2( ID3v2::Tag* tag, demux_meta_t* p_demux_meta, vlc_
     list = tag->frameListMap()["TRCK"];
     if( !list.isEmpty() )
     {
-        ExtractTrackNumberValues( p_meta, (*list.begin())->toString().toCString( true ),
+        ExtractCoupleNumberValues( p_meta, (*list.begin())->toString().toCString( true ),
                 vlc_meta_TrackNumber, vlc_meta_TrackTotal );
     }
 



More information about the vlc-commits mailing list