diff --git a/lib/driver/image/cdrdao.c b/lib/driver/image/cdrdao.c index a1d56170..5d3bd2af 100644 --- a/lib/driver/image/cdrdao.c +++ b/lib/driver/image/cdrdao.c @@ -1,5 +1,6 @@ /* - Copyright (C) 2004, 2005, 2006, 2007, 2008 Rocky Bernstein + Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 + Rocky Bernstein toc reading routine adapted from cuetools Copyright (C) 2003 Svend Sanjay Sorensen @@ -22,7 +23,6 @@ (*.cue). */ -static const char _rcsid[] = "$Id: cdrdao.c,v 1.27 2008/04/21 18:30:22 karl Exp $"; #include "image.h" #include "cdio_assert.h" @@ -242,7 +242,7 @@ get_disc_last_lsn_cdrdao (void *p_user_data) i_size = p_env->tocent[i_leadout-1].sec_count; } else { if (NULL == p_env->tocent[i_leadout-1].data_source) { - cdio_error ("Data source for image %s is null", + cdio_warn ("Data source for image %s is null", p_env->gen.source_name); return -1; } diff --git a/test/data/Makefile.am b/test/data/Makefile.am index fdcc2360..dfc52fd4 100644 --- a/test/data/Makefile.am +++ b/test/data/Makefile.am @@ -17,6 +17,9 @@ check_DATA = \ cdda.bin \ cdda.cue \ cdda.toc \ + cdtext.bin \ + cdtext.cdt \ + cdda.bin \ copying-rr.iso \ copying.iso \ data1.toc \ diff --git a/test/data/cdtext.bin b/test/data/cdtext.bin new file mode 100644 index 00000000..a9b29db2 Binary files /dev/null and b/test/data/cdtext.bin differ diff --git a/test/data/cdtext.cdt b/test/data/cdtext.cdt new file mode 100644 index 00000000..7989ec8d Binary files /dev/null and b/test/data/cdtext.cdt differ