decoder/flac: call FlacSubmitToClient() again after seeking

See code comment.
This commit is contained in:
Max Kellermann 2018-02-17 13:10:03 +01:00
parent 2aad015392
commit b53a23b51b

View File

@ -166,6 +166,11 @@ flac_decoder_loop(FlacDecoder *data, FLAC__StreamDecoder *flac_dec)
client.CommandFinished(); client.CommandFinished();
} else } else
client.SeekError(); client.SeekError();
/* FLAC__stream_decoder_seek_absolute()
decodes one frame and may have provided
data to be submitted to the client */
continue;
} else if (cmd == DecoderCommand::STOP) } else if (cmd == DecoderCommand::STOP)
break; break;