Hi, On Sun, Jun 26, 2011 at 3:52 PM, Ronald S. Bultje <[email protected]> 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];
Actually I'll squash this with the other patch that changes function prototypes. Ronald _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
