aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-06-25 21:10:14 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-06-25 21:10:14 +0000
commit47873cd8586b86a4295270baff45cac3b35721fe (patch)
treeabb43a81793e5570f95de3d82e1bc4395cf21591 /src/inputPlugins
parent77bd4ec428111bbc9ed146401bc6648052bc2f18 (diff)
downloadmpd-47873cd8586b86a4295270baff45cac3b35721fe.tar.gz
mpd-47873cd8586b86a4295270baff45cac3b35721fe.tar.xz
mpd-47873cd8586b86a4295270baff45cac3b35721fe.zip
fix bug in ogg replaygain
git-svn-id: https://svn.musicpd.org/mpd/trunk@1662 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/inputPlugins/ogg_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inputPlugins/ogg_plugin.c b/src/inputPlugins/ogg_plugin.c
index a85658c9a..c65de71aa 100644
--- a/src/inputPlugins/ogg_plugin.c
+++ b/src/inputPlugins/ogg_plugin.c
@@ -317,7 +317,7 @@ int ogg_decode(OutputBuffer * cb, DecoderControl * dc, InputStream * inStream)
if((test = ov_bitrate_instant(&vf))>0) {
bitRate = test/1000;
}
- doReplayGain(chunk,ret,&(dc->audioFormat),
+ doReplayGain(chunk,chunkpos,&(dc->audioFormat),
replayGainScale);
sendDataToOutputBuffer(cb, inStream, dc,
inStream->seekable,