From c3543a6fef87b7a4fd727631d4783c43fdea9a36 Mon Sep 17 00:00:00 2001 From: Rocky Bernstein Date: Sat, 16 Jul 2005 04:47:12 +0000 Subject: [PATCH] Meant to set first and last entry for each *track*. --- modules/access/vcdx/info.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/access/vcdx/info.c b/modules/access/vcdx/info.c index dfc6ecc8d3..c6ef63d601 100644 --- a/modules/access/vcdx/info.c +++ b/modules/access/vcdx/info.c @@ -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) ); -- 2.39.2