From 47873cd8586b86a4295270baff45cac3b35721fe Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Fri, 25 Jun 2004 21:10:14 +0000 Subject: fix bug in ogg replaygain git-svn-id: https://svn.musicpd.org/mpd/trunk@1662 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/inputPlugins/ogg_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inputPlugins') 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, -- cgit v1.2.3