diff options
author | Nils Wallménius <nils@rockbox.org> | 2010-01-18 03:00:59 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2010-01-18 03:00:59 +0000 |
commit | f9b05db0064043e1d2590e3d0609a1ca97dba92f (patch) | |
tree | 40dc7c8bdf91bb9d92ce0ff9c3057fd1ad57e2d7 /apps/codecs | |
parent | d10bcd6429b78768a1d5edcc831bdd72e6f648f0 (diff) |
Fix typo causing l+r mono encoding to use only one channel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24269 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs')
-rw-r--r-- | apps/codecs/mp3_enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/mp3_enc.c b/apps/codecs/mp3_enc.c index 18774ef456..9988dd8051 100644 --- a/apps/codecs/mp3_enc.c +++ b/apps/codecs/mp3_enc.c @@ -2112,7 +2112,7 @@ STATICIRAM void to_mono_mm(void) case 0: default: /* mono = (L+R)/2 */ - m = r + r + err; + m = l + r + err; err = m & 1; m >>= 1; break; |