summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/codecs/mp3_enc.c2
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;