better detection of pregap data in file
This commit is contained in:
parent
4aa936ce33
commit
c69a11a219
|
@ -246,7 +246,7 @@ chdstream_t *chdstream_open(const char *path, int32_t track)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Only include pregap data if it was in the track file */
|
/* Only include pregap data if it was in the track file */
|
||||||
if (!strcmp(meta.type, meta.pgtype))
|
if (meta.pgtype[0] != 'V')
|
||||||
pregap = meta.pregap;
|
pregap = meta.pregap;
|
||||||
else
|
else
|
||||||
pregap = 0;
|
pregap = 0;
|
||||||
|
|
Loading…
Reference in New Issue