Minor simplification
authorVitor Sessak <vitor1001@gmail.com>
Wed, 18 Jul 2007 14:37:39 +0000 (14:37 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Wed, 18 Jul 2007 14:37:39 +0000 (14:37 +0000)
Originally committed as revision 9738 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/alac.c

index 0402065..0e4f100 100644 (file)
@@ -421,8 +421,7 @@ static void deinterlace_16(int32_t *buffer_a, int32_t *buffer_b,
 
 
             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;