diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2005-02-02 04:25:56 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2005-02-02 04:25:56 +0000 |
commit | 9f29915f7766656b9aac44267f592d625b758b83 (patch) | |
tree | dc0d93f3ed772c823f688f3e2f48cd3b4012fb78 /src | |
parent | 1e123ad4b737bc93317f8203ed34d3cebe24b2e0 (diff) | |
download | mpd-9f29915f7766656b9aac44267f592d625b758b83.tar.gz mpd-9f29915f7766656b9aac44267f592d625b758b83.tar.xz mpd-9f29915f7766656b9aac44267f592d625b758b83.zip |
fix to code just submitted
git-svn-id: https://svn.musicpd.org/mpd/trunk@2928 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/inputPlugins/flac_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inputPlugins/flac_plugin.c b/src/inputPlugins/flac_plugin.c index e65853f6d..57addbd10 100644 --- a/src/inputPlugins/flac_plugin.c +++ b/src/inputPlugins/flac_plugin.c @@ -417,7 +417,7 @@ FLAC__StreamDecoderWriteStatus flacWrite(const FLAC__SeekableStreamDecoder *dec, for(c_chan = 0; c_chan < frame->header.channels; c_chan++) { memcpy(data->chunk+data->chunk_length, &buf[c_chan][c_samp], bytesPerSample); - data->chunk_length++; + data->chunk_length+=bytesPerSample; if(FLAC_CHUNK_SIZE-data->chunk_length < bytesPerSample) { if(flacSendChunk(data)<0) { |