On Sun, Jun 26, 2011 at 03:52:02PM -0700, Ronald S. Bultje wrote:
> Otherwise it crashes.
> ---
>  libswscale/x86/swscale_template.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/libswscale/x86/swscale_template.c 
> b/libswscale/x86/swscale_template.c
> index 642dedf..de0e4ab 100644
> --- a/libswscale/x86/swscale_template.c
> +++ b/libswscale/x86/swscale_template.c
> @@ -981,10 +981,10 @@ static void RENAME(yuv2rgb32_2)(SwsContext *c, const 
> int16_t *buf[2],
>                                  int dstW, int yalpha, int uvalpha, int y)
>  {
>      const int16_t *buf0  = buf[0],  *buf1  = buf[1],
> -                  *ubuf0 = ubuf[0], *ubuf1 = ubuf[1],
> -                  *abuf0 = abuf[0], *abuf1 = abuf[1];
> +                  *ubuf0 = ubuf[0], *ubuf1 = ubuf[1];
>  
>      if (CONFIG_SWSCALE_ALPHA && c->alpPixBuf) {
> +        const int16_t *abuf0 = abuf[0], *abuf1 = abuf[1];
>  #if ARCH_X86_64
>          __asm__ volatile(
>              YSCALEYUV2RGB(%%r8, %5)
> -- 

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

Reply via email to