Merge pull request #10654 from Jamiras/chd_find_special_fail

return false when special track cannot be found
This commit is contained in:
Autechre 2020-05-18 20:57:42 +02:00 committed by GitHub
commit 646efb91e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -167,6 +167,8 @@ chdstream_find_special_track(chd_file *fd, int32_t track, metadata_t *meta)
}
else if (track == CHDSTREAM_TRACK_PRIMARY && largest_track != 0)
return chdstream_find_track_number(fd, largest_track, meta);
return false;
}
switch (track)