On Mon, Apr 11, 2011 at 10:01:07PM +0200, Luca Barbato wrote:
> Keep only the plain C code in the main rgb2rgb.c
> Change a little the init pattern so some of it can be factorized in
> order to behave like dsputils.
> 
> --- a/libswscale/rgb2rgb.c
> +++ b/libswscale/rgb2rgb.c
> @@ -199,20 +116,14 @@ DECLARE_ASM_CONST(8, uint64_t, blue_15mask)  = 
> 0x0000001f0000001fULL;
>  
> +void rgb2rgb_init_x86();
> +
>  void sws_rgb2rgb_init(int flags)
>  {
> +    rgb2rgb_init_c();
> +    rgb2rgb_init_x86();
>  
> --- /dev/null
> +++ b/libswscale/x86/rgb2rgb.c
> @@ -0,0 +1,146 @@
> +
> +void rgb2rgb_init_x86(int flags);
> +
> +void rgb2rgb_init_x86(int flags)

These two declarations disagree, but I think you should have fixed this
already in a new iteration of the patchset.

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

Reply via email to