Hi,

On Mon, Jan 30, 2012 at 5:58 AM, Paul B Mahol <[email protected]> wrote:
>
> Signed-off-by: Paul B Mahol <[email protected]>
> ---
>  libswscale/swscale.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/libswscale/swscale.c b/libswscale/swscale.c
> index 05ee8a4..eaec1dd 100644
> --- a/libswscale/swscale.c
> +++ b/libswscale/swscale.c
> @@ -2672,7 +2672,7 @@ static int swScale(SwsContext *c, const uint8_t* src[],
>         }
>     }
>
> -    if ((dstFormat == PIX_FMT_YUVA420P) && !alpPixBuf)
> +    if (isPlanar(dstFormat) && isALPHA(dstFormat) && !alpPixBuf)
>         fillPlane(dst[3], dstStride[3], dstW, dstY-lastDstY, lastDstY, 255);

Thanks, pushed.

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

Reply via email to