summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
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;