diff options
Diffstat (limited to 'libswscale/swscale.c')
-rw-r--r-- | libswscale/swscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 22f45587ae..c39a01d318 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -2804,7 +2804,7 @@ static int swScale(SwsContext *c, const uint8_t* src[], } } - if (isPlanarYUV(dstFormat) && isALPHA(dstFormat) && !alpPixBuf) + if (isPlanar(dstFormat) && isALPHA(dstFormat) && !alpPixBuf) fillPlane(dst[3], dstStride[3], dstW, dstY-lastDstY, lastDstY, 255); #if HAVE_MMX2 |