Add Leon Merten Lohse's cdtext test images.

cdrdao.c reduse severity of not finding source - may change my mind later about this...
This commit is contained in:
R. Bernstein
2011-11-25 13:42:23 -05:00
parent 7032a6dbd9
commit 92a8bcb8c8
4 changed files with 6 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
/* /*
Copyright (C) 2004, 2005, 2006, 2007, 2008 Rocky Bernstein <rocky@gnu.org> Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011
Rocky Bernstein <rocky@gnu.org>
toc reading routine adapted from cuetools toc reading routine adapted from cuetools
Copyright (C) 2003 Svend Sanjay Sorensen <ssorensen@fastmail.fm> Copyright (C) 2003 Svend Sanjay Sorensen <ssorensen@fastmail.fm>
@@ -22,7 +23,6 @@
(*.cue). (*.cue).
*/ */
static const char _rcsid[] = "$Id: cdrdao.c,v 1.27 2008/04/21 18:30:22 karl Exp $";
#include "image.h" #include "image.h"
#include "cdio_assert.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; i_size = p_env->tocent[i_leadout-1].sec_count;
} else { } else {
if (NULL == p_env->tocent[i_leadout-1].data_source) { 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); p_env->gen.source_name);
return -1; return -1;
} }

View File

@@ -17,6 +17,9 @@ check_DATA = \
cdda.bin \ cdda.bin \
cdda.cue \ cdda.cue \
cdda.toc \ cdda.toc \
cdtext.bin \
cdtext.cdt \
cdda.bin \
copying-rr.iso \ copying-rr.iso \
copying.iso \ copying.iso \
data1.toc \ data1.toc \

BIN
test/data/cdtext.bin Normal file

Binary file not shown.

BIN
test/data/cdtext.cdt Normal file

Binary file not shown.