diff options
Diffstat (limited to 'src/inputPlugins/flac_plugin.c')
-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 43be1a2b9..4bfc87246 100644 --- a/src/inputPlugins/flac_plugin.c +++ b/src/inputPlugins/flac_plugin.c @@ -426,7 +426,7 @@ static int flac_decode_internal(struct decoder * decoder, FLAC__uint64 sampleToSeek = dc.seekWhere * dc.audioFormat.sampleRate + 0.5; if (flac_seek_absolute(flacDec, sampleToSeek)) { - ob_clear(); + decoder_clear(decoder); data.time = ((float)sampleToSeek) / dc.audioFormat.sampleRate; data.position = 0; @@ -442,7 +442,7 @@ static int flac_decode_internal(struct decoder * decoder, /* send last little bit */ if (data.chunk_length > 0 && dc.command != DECODE_COMMAND_STOP) { flacSendChunk(&data); - ob_flush(); + decoder_flush(decoder); } fail: |