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
1 changed files with 5 additions and 0 deletions

View File

@ -166,6 +166,11 @@ flac_decoder_loop(FlacDecoder *data, FLAC__StreamDecoder *flac_dec)
client.CommandFinished();
} else
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)
break;