better detection of pregap data in file

This commit is contained in:
Jamiras 2019-11-22 19:36:38 -07:00
parent 4aa936ce33
commit c69a11a219

View File

@ -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 */
if (!strcmp(meta.type, meta.pgtype))
if (meta.pgtype[0] != 'V')
pregap = meta.pregap;
else
pregap = 0;