diff options
Diffstat (limited to '')
-rw-r--r-- | src/inputPlugins/flac_plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inputPlugins/flac_plugin.c b/src/inputPlugins/flac_plugin.c index cd8a8efd3..2f3ec88d9 100644 --- a/src/inputPlugins/flac_plugin.c +++ b/src/inputPlugins/flac_plugin.c @@ -350,11 +350,11 @@ static int flac_decode_internal(struct decoder * decoder, break; if (decoder_get_command(decoder) == DECODE_COMMAND_SEEK) { FLAC__uint64 sampleToSeek = decoder_seek_where(decoder) * - data.audio_format.sampleRate + 0.5; + data.audio_format.sample_rate + 0.5; if (flac_seek_absolute(flacDec, sampleToSeek)) { decoder_clear(decoder); data.time = ((float)sampleToSeek) / - data.audio_format.sampleRate; + data.audio_format.sample_rate; data.position = 0; decoder_command_finished(decoder); } else |