On Mon, Apr 11, 2011 at 10:01:09PM +0200, Luca Barbato wrote:
> 
> --- a/libswscale/swscale.c
> +++ b/libswscale/swscale.c
> @@ -121,63 +121,6 @@ add BGR4 output support
>  
> -const DECLARE_ALIGNED(8, uint64_t, ff_dither4)[2] = {
> -        0x0103010301030103LL,
> -        0x0200020002000200LL,};
> -
> -const DECLARE_ALIGNED(8, uint64_t, ff_dither8)[2] = {
> -        0x0602060206020602LL,
> -        0x0004000400040004LL,};
> --- a/libswscale/x86/swscale_template.c
> +++ b/libswscale/x86/swscale_template.c
> @@ -18,6 +18,60 @@
>  
> +const DECLARE_ALIGNED(8, uint64_t, ff_dither4)[2] = {
> +        0x0103010301030103LL,
> +        0x0200020002000200LL,};
> +
> +const DECLARE_ALIGNED(8, uint64_t, ff_dither8)[2] = {
> +        0x0602060206020602LL,
> +        0x0004000400040004LL,};

8 spaces indentation is weird even though present in the original code
block; you may wish to adjust this.

Patch is OK either way.

Diego
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to