aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins/oggflac_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-04-12 04:06:39 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-12 04:06:39 +0000
commit51f5bf932c2cf4d6aafb62fa2859881efd6a86fc (patch)
tree8ac9a7ad10aec783cff009eee5f627d598237a6f /src/inputPlugins/oggflac_plugin.c
parent4dc709d04e543b4841498ea0dd3763ef065ed37a (diff)
downloadmpd-51f5bf932c2cf4d6aafb62fa2859881efd6a86fc.tar.gz
mpd-51f5bf932c2cf4d6aafb62fa2859881efd6a86fc.tar.xz
mpd-51f5bf932c2cf4d6aafb62fa2859881efd6a86fc.zip
use unsigned integers in the flac plugin
The counter variables c_samp and c_chan begin at zero and can never be negative. git-svn-id: https://svn.musicpd.org/mpd/trunk@7228 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/inputPlugins/oggflac_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inputPlugins/oggflac_plugin.c b/src/inputPlugins/oggflac_plugin.c
index 1bbb10e9a..4e56a554a 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;
+ unsigned int c_samp, c_chan;
int i;
float timeChange;