]> git.sesse.net Git - vlc/commitdiff
Meant to set first and last entry for each *track*.
authorRocky Bernstein <rocky@videolan.org>
Sat, 16 Jul 2005 04:47:12 +0000 (04:47 +0000)
committerRocky Bernstein <rocky@videolan.org>
Sat, 16 Jul 2005 04:47:12 +0000 (04:47 +0000)
modules/access/vcdx/info.c

index dfc6ecc8d3bf193b86b4dea92fc95b4298c6f59f..c6ef63d601bc44f7ad1939e6ab40edf7e3aaca3a 100644 (file)
@@ -108,10 +108,12 @@ VCDMetaInfo( access_t *p_access, /*const*/ char *psz_mrl )
 
 #define TITLE_MAX 30
   for( i_track = 1 ; i_track < p_vcdplayer->i_tracks ; i_track++ ) {
+    char psz_cat[20];
     unsigned int audio_type = vcdinfo_get_track_audio_type(p_vcdplayer->vcd, 
                                                           i_track);
     uint32_t i_secsize = vcdinfo_get_track_sect_count(p_vcdplayer->vcd, i_track);
 
+    snprintf(psz_cat, sizeof(psz_cat), "Track %d", i_track);
     if (p_vcdplayer->b_svd) {
       addnum(_("Audio Channels"),  
             vcdinfo_audio_type_num_channels(p_vcdplayer->vcd, audio_type) );