[FFmpeg-cvslog] r14091 - trunk/libavcodec/ra288.c

Måns Rullgård mans
Sun Jul 6 14:36:50 CEST 2008


vitor <subversion at mplayerhq.hu> writes:

> Author: vitor
> Date: Sun Jul  6 14:01:59 2008
> New Revision: 14091
>
> Log:
> Slighly faster operation
>
> Modified:
>    trunk/libavcodec/ra288.c
>
> Modified: trunk/libavcodec/ra288.c
> ==============================================================================
> --- trunk/libavcodec/ra288.c	(original)
> +++ trunk/libavcodec/ra288.c	Sun Jul  6 14:01:59 2008
> @@ -196,7 +196,7 @@ static void update(Real288_internal *glo
>
>      y = glob->phase + 1;
>      for (x=0; x < 8; x++)
> -        buffer2[x] = glob->history[(y++) % 8];
> +        buffer2[x] = glob->history[(y++) & 7];

If this makes any difference, y is signed.  Is that really correct?

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-cvslog mailing list