mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-16 09:08:04 -04:00
[raop] Fix missing uint64 cast, which since commit fdd85cc was giving too short song lengths
This commit is contained in:
parent
297de6d86c
commit
084de7811e
@ -899,7 +899,7 @@ raop_metadata_prepare(int id)
|
|||||||
|
|
||||||
/* Progress - raop_metadata_send() will add rtptime to these */
|
/* Progress - raop_metadata_send() will add rtptime to these */
|
||||||
rmd->start = 0;
|
rmd->start = 0;
|
||||||
rmd->end = (queue_item->song_length * 44100UL) / 1000UL;
|
rmd->end = ((uint64_t)queue_item->song_length * 44100UL) / 1000UL;
|
||||||
|
|
||||||
free_queue_item(queue_item, 0);
|
free_queue_item(queue_item, 0);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user