Minor simplification

Originally committed as revision 9738 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Vitor Sessak 18 years ago
parent 60c4a31c6a
commit b37bce6b61
  1. 3
      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;

Loading…
Cancel
Save