libcdio-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libcdio-devel] Bug in example/cdtext.c


From: Eric Benson
Subject: [Libcdio-devel] Bug in example/cdtext.c
Date: Tue, 25 Apr 2006 20:07:09 -0700 (PDT)

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;
     


reply via email to

[Prev in Thread] Current Thread [Next in Thread]