This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
swscale: more generic check for planar destination formats with alpha
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
tags/n0.11
Paul B Mahol
Ronald S. Bultje
13 years ago
parent
fe47ea8f7a
commit
08d8029ea8
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libswscale/swscale.c
+ 1
- 1
libswscale/swscale.c
View File
@@ -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);
fillPlane(dst[3], dstStride[3], dstW, dstY-lastDstY, lastDstY, 255);
#if HAVE_MMX2
#if HAVE_MMX2
Write
Preview
Loading…
Cancel
Save