1
0
Fork 0

Bump the MP3 fast-seek-table's version identifier

The hashest generated by xxHash have changed between v0.7.2 and v0.7.3,
therefore the hashes in prior-genreated lookup tables will no longer
be valid. By bumping the file's identifier, the fast-seek code will
reject these older files and regenerate new ones.
This commit is contained in:
krcroft 2020-03-06 16:15:10 -08:00 committed by Patryk Obara
parent 27538eeb2e
commit 37a1610f1c

View file

@ -96,7 +96,7 @@ using std::ifstream;
using std::ofstream;
// Identifies a valid versioned seek-table
#define SEEK_TABLE_IDENTIFIER "st-v3"
#define SEEK_TABLE_IDENTIFIER "st-v4"
// How many compressed MP3 frames should we skip between each recorded
// time point. The trade-off is as follows: