Set toc_init even on image drivers. Never know when the could will

start needing this, but may as well do now.
This commit is contained in:
rocky
2004-08-16 02:04:08 +00:00
parent 8ddd3bf19f
commit 3d6d01ddbd
3 changed files with 16 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
/*
$Id: bincue.c,v 1.40 2004/08/13 13:04:37 rocky Exp $
$Id: bincue.c,v 1.41 2004/08/16 02:04:08 rocky Exp $
Copyright (C) 2002, 2003, 2004 Rocky Bernstein <rocky@panix.com>
Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
@@ -26,7 +26,7 @@
(*.cue).
*/
static const char _rcsid[] = "$Id: bincue.c,v 1.40 2004/08/13 13:04:37 rocky Exp $";
static const char _rcsid[] = "$Id: bincue.c,v 1.41 2004/08/16 02:04:08 rocky Exp $";
#include "image.h"
#include "cdio_assert.h"
@@ -766,6 +766,10 @@ parse_cuefile (_img_private_t *cd, const char *psz_cue_name)
}
}
if (NULL != cd) {
cd->gen.toc_init = true;
}
fclose (fp);
return true;