From b37bce6b6138833bcd8de7b33c457e636aba4224 Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Wed, 18 Jul 2007 14:37:39 +0000 Subject: Minor simplification Originally committed as revision 9738 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/alac.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libavcodec') diff --git a/libavcodec/alac.c b/libavcodec/alac.c index 040206516a..0e4f100f92 100644 --- a/libavcodec/alac.c +++ b/libavcodec/alac.c @@ -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; -- cgit v1.2.3