Mercurial > hg > audiodb
diff common.cpp @ 500:fbcc1303dfeb memory-leaks
Fixed bug in LSH_N_POINT_BITS coding when using AudioDB with LSH indexes
author | mas01mc |
---|---|
date | Sat, 10 Jan 2009 20:01:53 +0000 |
parents | 2d5c3f8e8c22 |
children |
line wrap: on
line diff
--- a/common.cpp Sat Jan 10 13:38:22 2009 +0000 +++ b/common.cpp Sat Jan 10 20:01:53 2009 +0000 @@ -180,7 +180,7 @@ } // Assign correct number of point bits per track in LSH indexing / retrieval - lsh_n_point_bits = dbH->flags >> 28; + lsh_n_point_bits = dbH->flags >> LSH_POINT_BITS_FIELD_POSITION; if( !lsh_n_point_bits ) lsh_n_point_bits = O2_DEFAULT_LSH_N_POINT_BITS; }