Commit 7f36923e authored by Max Kellermann's avatar Max Kellermann

decoder/flac: pass SignedSongTime to decoder_initialized()

parent 2ca8d691
......@@ -146,8 +146,8 @@ flac_decoder_initialize(struct flac_data *data, FLAC__StreamDecoder *sd,
/* done */
const auto duration2 =
SongTime::FromScale<uint64_t>(data->total_frames,
data->audio_format.sample_rate);
SignedSongTime::FromScale<uint64_t>(data->total_frames,
data->audio_format.sample_rate);
decoder_initialized(data->decoder, data->audio_format,
data->input_stream.IsSeekable(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment