changeset 5367:1a1f93a4e726 libavcodec

Minor simplification
author vitor
date Wed, 18 Jul 2007 14:37:39 +0000
parents 59a9c1e471fc
children a31f6ae7e83d
files alac.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/alac.c	Wed Jul 18 14:36:30 2007 +0000
+++ b/alac.c	Wed Jul 18 14:37:39 2007 +0000
@@ -421,8 +421,7 @@
 
 
             right = midright - ((difference * interlacing_leftweight) >> interlacing_shift);
-            left = (midright - ((difference * interlacing_leftweight) >> interlacing_shift))
-                 + difference;
+            left = right + difference;
 
             buffer_out[i*numchannels] = left;
             buffer_out[i*numchannels + 1] = right;