Hi all,
I just discovered this library and I'm evaluating it as a possible
solution for cross-platform CD-DA reading on Linux, Windows and OS X.
Anyway, while playing around I discovered and fixed this tiny bug in
the examples:
*** example/cdtext.c.orig 2006-04-25 19:58:25.000000000 -0700
--- example/cdtext.c 2006-04-25 19:58:16.000000000 -0700
***************
*** 38,44 ****
static void
print_cdtext_track_info(CdIo_t *p_cdio, track_t i_track, const char *psz_msg) {
! const cdtext_t *cdtext = cdio_get_cdtext(p_cdio, 0);
if (NULL != cdtext) {
cdtext_field_t i;
--- 38,44 ----
static void
print_cdtext_track_info(CdIo_t *p_cdio, track_t i_track, const char *psz_msg) {
! const cdtext_t *cdtext = cdio_get_cdtext(p_cdio, i_track);
if (NULL != cdtext) {
cdtext_field_t i;