From 37a1610f1c6ac1d2f570821b709093811a112a29 Mon Sep 17 00:00:00 2001 From: krcroft Date: Fri, 6 Mar 2020 16:15:10 -0800 Subject: [PATCH] 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. --- src/libs/decoders/mp3_seek_table.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/decoders/mp3_seek_table.cpp b/src/libs/decoders/mp3_seek_table.cpp index 0ace00ce..ffa99428 100644 --- a/src/libs/decoders/mp3_seek_table.cpp +++ b/src/libs/decoders/mp3_seek_table.cpp @@ -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: