From 379a39b4403c243ec3de9d0412ed123321fc5124 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Wed, 15 May 2002 21:54:22 +0000 Subject: fixed dithering bug git-svn-id: svn://svn.rockbox.org/rockbox/trunk@582 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/common/mpegplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'uisimulator/common') diff --git a/uisimulator/common/mpegplay.c b/uisimulator/common/mpegplay.c index 5ecfca9e97..76e9655be6 100644 --- a/uisimulator/common/mpegplay.c +++ b/uisimulator/common/mpegplay.c @@ -269,7 +269,7 @@ int mpeg_play(char* fname) * the right output channel is the same as the left one. */ if(MAD_NCHANNELS(&Frame.header)==2) - Sample=scale(Synth.pcm.samples[1][i],&d0); + Sample=scale(Synth.pcm.samples[1][i],&d1); *(OutputPtr++)=Sample&0xff; *(OutputPtr++)=Sample>>8; -- cgit v1.2.3