On Sun, Jan 12, 2014 at 12:16 AM, Luca Barbato <lu_zero at gentoo.org> wrote:
> ---
>  libavcodec/vc1dsp.c | 71 
> +++++++++++++++++------------------------------------
>  1 file changed, 23 insertions(+), 48 deletions(-)
> 
> diff --git a/libavcodec/vc1dsp.c b/libavcodec/vc1dsp.c
> index fe6e26d..5afb34c 100644
> --- a/libavcodec/vc1dsp.c
> +++ b/libavcodec/vc1dsp.c
> @@ -676,6 +676,9 @@ PUT_VC1_MSPEL(1, 3)
>  PUT_VC1_MSPEL(2, 3)
>  PUT_VC1_MSPEL(3, 3)
>  
> +#define chroma_mc(a) \
> +    ((A * src[a] + B * src[a + 1] + \
> +      C * src[stride + a] + D * src[stride + a +1] + 32 - 4) >> 6)

+ a +1 -> + a + 1

Otherwise LGTM.

Tim
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to