summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-07-01 14:21:28 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-07-01 14:21:28 +0000
commita64fa107d175501db522718f748f9ba90be6316e (patch)
tree9543440b356be05129d31a16e5724eeff1ea1b41
parentffe8ceccf3242f3b7ba45b5d5fef84e0ceadcdc2 (diff)
downloadrockbox-a64fa107d175501db522718f748f9ba90be6316e.tar.gz
rockbox-a64fa107d175501db522718f748f9ba90be6316e.zip
mp3 encoder (codec): left and right channels were inverted in mono
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27219 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/codecs/mp3_enc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/mp3_enc.c b/apps/codecs/mp3_enc.c
index 17d980fa39..c66d755f08 100644
--- a/apps/codecs/mp3_enc.c
+++ b/apps/codecs/mp3_enc.c
@@ -2093,8 +2093,8 @@ STATICIRAM void to_mono_mm(void)
inline void to_mono(uint16_t **samp)
{
- int16_t r = **samp;
- int16_t l = *(*samp+1);
+ int16_t l = **samp;
+ int16_t r = *(*samp+1);
int32_t m;
switch(cfg.rec_mono_mode)