diff options
author | Max Kellermann <max@duempel.org> | 2008-04-12 04:06:28 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-04-12 04:06:28 +0000 |
commit | 4dc709d04e543b4841498ea0dd3763ef065ed37a (patch) | |
tree | 6775bb828e79cb1e976694284a66008d4c3d9943 /src/inputPlugins/oggflac_plugin.c | |
parent | 665eab26f371e7f21df9955d1d72bbfa41ca989d (diff) | |
download | mpd-4dc709d04e543b4841498ea0dd3763ef065ed37a.tar.gz mpd-4dc709d04e543b4841498ea0dd3763ef065ed37a.tar.xz mpd-4dc709d04e543b4841498ea0dd3763ef065ed37a.zip |
removed unused variable
The local variable d_samp is initialized, but never actually used.
git-svn-id: https://svn.musicpd.org/mpd/trunk@7227 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/inputPlugins/oggflac_plugin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inputPlugins/oggflac_plugin.c b/src/inputPlugins/oggflac_plugin.c index 15536ab9a..1bbb10e9a 100644 --- a/src/inputPlugins/oggflac_plugin.c +++ b/src/inputPlugins/oggflac_plugin.c @@ -169,7 +169,7 @@ static FLAC__StreamDecoderWriteStatus oggflacWrite(const FLAC__uint32 samples = frame->header.blocksize; FLAC__uint16 u16; unsigned char *uc; - int c_samp, c_chan, d_samp; + int c_samp, c_chan; int i; float timeChange; @@ -188,9 +188,9 @@ static FLAC__StreamDecoderWriteStatus oggflacWrite(const /((float)samples * 1000)) + 0.5; */ - for (c_samp = d_samp = 0; c_samp < frame->header.blocksize; c_samp++) { + for (c_samp = 0; c_samp < frame->header.blocksize; c_samp++) { for (c_chan = 0; c_chan < frame->header.channels; - c_chan++, d_samp++) { + c_chan++) { u16 = buf[c_chan][c_samp]; uc = (unsigned char *)&u16; for (i = 0; i < (data->dc->audioFormat.bits / 8); i++) { |