decoder/flac: handle unknown duration correctly

If the duration is unknown, pass SignedSongTime::Negative(), as
documented for decoder_initialized().
This commit is contained in:
Max Kellermann
2016-07-08 22:33:49 +02:00
parent 7f36923eb4
commit 4a7042e847
3 changed files with 6 additions and 6 deletions

1
NEWS
View File

@@ -1,6 +1,7 @@
ver 0.19.17 (not yet released)
* decoder
- flac: fix assertion failure while seeking
- flac: fix stream duration indicator
- fix seek problems in several plugins
* fix spurious seek error "Failed to allocate silence buffer"
* replay gain: fix "replay_gain_handler mixer" setting