aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/flac
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-02-02 08:22:21 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-02-02 08:22:21 +0000
commit98233aa76d03790fcdb813d98dd872df466f6afd (patch)
tree4ec71c8e1fe5695820dce5688f36cbe7042a0cb9 /src/plugins/Input/flac
parentbef7779cf487577a061874facc67c6d09ac44e7d (diff)
downloadqmmp-98233aa76d03790fcdb813d98dd872df466f6afd.tar.gz
qmmp-98233aa76d03790fcdb813d98dd872df466f6afd.tar.bz2
qmmp-98233aa76d03790fcdb813d98dd872df466f6afd.zip
fixed gcc 4.7 warnings, replaced deprecated functions
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3197 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/flac')
-rw-r--r--src/plugins/Input/flac/decoder_flac.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/Input/flac/decoder_flac.cpp b/src/plugins/Input/flac/decoder_flac.cpp
index 19646316f..454febdde 100644
--- a/src/plugins/Input/flac/decoder_flac.cpp
+++ b/src/plugins/Input/flac/decoder_flac.cpp
@@ -91,9 +91,6 @@ static int flac_decode (void *void_data, char *buf, int buf_len)
{
DecoderFLAC *dflac = (DecoderFLAC *) void_data;
unsigned to_copy;
- int bytes_per_sample;
-
- bytes_per_sample = dflac->data()->bits_per_sample / 8;
if (!dflac->data()->sample_buffer_fill)
{