Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-01-28 07:12:29 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-01-28 20:37:08 +0400
commit762311ff94e78d6f6cdd344882123210c1270757 (patch)
treeaf53e74308a4a138cc5e5e888d935a742b4ae7d4 /libswscale
parent7bab43f29c0ee60051b52e3ed62d3b93e42d7e78 (diff)
swscale: fix conversion into yuva444p from non-alpha formats
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/swscale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index d8861d6c04..22f45587ae 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -2804,7 +2804,7 @@ static int swScale(SwsContext *c, const uint8_t* src[],
}
}
- if ((dstFormat == PIX_FMT_YUVA420P) && !alpPixBuf)
+ if (isPlanarYUV(dstFormat) && isALPHA(dstFormat) && !alpPixBuf)
fillPlane(dst[3], dstStride[3], dstW, dstY-lastDstY, lastDstY, 255);
#if HAVE_MMX2