diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2007-07-18 14:37:39 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2007-07-18 14:37:39 +0000 |
commit | b37bce6b6138833bcd8de7b33c457e636aba4224 (patch) | |
tree | 9a5a8004af386ac67dc2181222bb091cbc9d3c28 | |
parent | 60c4a31c6abbfaae33d31b733108000a16e88cbd (diff) | |
download | ffmpeg-b37bce6b6138833bcd8de7b33c457e636aba4224.tar.gz |
Minor simplification
Originally committed as revision 9738 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/alac.c | 3 |
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; |