summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2007-07-18 14:37:39 +0000
committerVitor Sessak <vitor1001@gmail.com>2007-07-18 14:37:39 +0000
commitb37bce6b6138833bcd8de7b33c457e636aba4224 (patch)
tree9a5a8004af386ac67dc2181222bb091cbc9d3c28 /libavcodec
parent60c4a31c6abbfaae33d31b733108000a16e88cbd (diff)
Minor simplification
Originally committed as revision 9738 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/alac.c3
1 files changed, 1 insertions, 2 deletions
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;