[FFmpeg-cvslog] r9738 - trunk/libavcodec/alac.c

Michael Niedermayer michaelni
Wed Jul 18 19:49:07 CEST 2007


Hi

On Wed, Jul 18, 2007 at 04:37:39PM +0200, vitor wrote:
> Author: vitor
> Date: Wed Jul 18 16:37:39 2007
> New Revision: 9738
> 
> Log:
> Minor simplification
> 
> Modified:
>    trunk/libavcodec/alac.c
> 
> Modified: trunk/libavcodec/alac.c
> ==============================================================================
> --- trunk/libavcodec/alac.c	(original)
> +++ trunk/libavcodec/alac.c	Wed Jul 18 16:37:39 2007
> @@ -421,8 +421,7 @@ static void deinterlace_16(int32_t *buff
>  
>  
>              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;

            a = buffer_a[i];
            b = buffer_b[i];

            a -= (b * interlacing_leftweight) >> interlacing_shift;
            b += a;

            buffer_out[i*numchannels] = b;
            buffer_out[i*numchannels + 1] = a;

is even simpler

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20070718/1c54a576/attachment.pgp>



More information about the ffmpeg-cvslog mailing list