diff --git a/src/decoder/plugins/FlacDecoderPlugin.cxx b/src/decoder/plugins/FlacDecoderPlugin.cxx index bb9ebbea8..d89d116a7 100644 --- a/src/decoder/plugins/FlacDecoderPlugin.cxx +++ b/src/decoder/plugins/FlacDecoderPlugin.cxx @@ -146,8 +146,8 @@ flac_decoder_initialize(struct flac_data *data, FLAC__StreamDecoder *sd, /* done */ const auto duration2 = - SongTime::FromScale(data->total_frames, - data->audio_format.sample_rate); + SignedSongTime::FromScale(data->total_frames, + data->audio_format.sample_rate); decoder_initialized(data->decoder, data->audio_format, data->input_stream.IsSeekable(),