diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-08-22 05:34:16 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2015-08-22 23:11:48 +0300 |
commit | eb3cfa7dd3239faabb3e2b4211c97b31da6bd39b (patch) | |
tree | b4d67b5ae7f2b4988a4b8ebb7efca8d939489a66 | |
parent | 14f97bb2bc32b2acf8b0367080532e67f88ad05e (diff) |
swscale/alphablend: fix pointer cast
Commit 7c72a4bbd3a0ca421c7419abad2fb65aa713dd8b was slightly wrong
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
-rw-r--r-- | libswscale/alphablend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/alphablend.c b/libswscale/alphablend.c index 0dd5052ccf..b9b809b702 100644 --- a/libswscale/alphablend.c +++ b/libswscale/alphablend.c @@ -131,7 +131,7 @@ int ff_sws_alphablendaway(SwsContext *c, const uint8_t *src[], if (sixteen_bits) { const uint16_t *s = (const uint16_t *)(src[0] + srcStride[0] * y + 2*!alpha_pos); const uint16_t *a = (const uint16_t *)(src[0] + srcStride[0] * y + alpha_pos); - uint16_t *d = (const uint16_t *)(dst[0] + dstStride[0] * y); + uint16_t *d = ( uint16_t *)(dst[0] + dstStride[0] * y); if ((!isBE(c->srcFormat)) == !HAVE_BIGENDIAN) { for (x = 0; x < w; x++) { for (plane = 0; plane < plane_count; plane++) { |