X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=sidebyside;f=aft.c;h=d2c7ced438e6ae8cfa653b215f18a590e7b7e780;hb=4ef71951aaf3621308977c1de7b8506b00331294;hp=e41073ac1d4053925d53ce7b07bfa672e5e5ddac;hpb=51cab2aba416fc1d57336f4e72da6b76ec60174c;p=paraslash.git diff --git a/aft.c b/aft.c index e41073ac..d2c7ced4 100644 --- a/aft.c +++ b/aft.c @@ -665,7 +665,8 @@ int load_afd(int shmid, struct audio_file_data *afd) * * \return Positive on success, negative on errors. */ -int open_and_update_audio_file(struct osl_row *aft_row, struct audio_file_data *afd) +int open_and_update_audio_file(struct osl_row *aft_row, + struct audio_file_data *afd, long score) { HASH_TYPE *aft_hash, file_hash[HASH_SIZE]; struct osl_object afsi_obj; @@ -717,7 +718,7 @@ int open_and_update_audio_file(struct osl_row *aft_row, struct audio_file_data * .afhi = afd->afhi, .afsi = afd->afsi, .path = path, - .score = afd->score, + .score = score, .hash = file_hash }; struct para_buffer pb = {.buf = NULL};