diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-05-10 20:35:49 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-10 20:36:12 +0200 |
commit | b2cf655d6e3d8446fd2ce0197aede831e941f0e8 (patch) | |
tree | 3879c8abb9ce280f07ef0e084d8407470a456277 | |
parent | 7ded0179832b3d8a2e332d73bd289e47e78c8f34 (diff) | |
download | ffmpeg-b2cf655d6e3d8446fd2ce0197aede831e941f0e8.tar.gz |
sws: add casts to silence pointer type mismatch warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-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 5cab133378..7bef0c80fb 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -992,7 +992,7 @@ int attribute_align_arg sws_scale(struct SwsContext *c, base = srcStride[0] < 0 ? rgb0_tmp - srcStride[0] * (srcSliceH-1) : rgb0_tmp; - xyz12Torgb48(c, base, src2[0], srcStride[0]/2, srcSliceH); + xyz12Torgb48(c, (uint16_t*)base, (const uint16_t*)src2[0], srcStride[0]/2, srcSliceH); src2[0] = base; } |