diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-09-01 02:54:27 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2011-09-01 20:23:40 +0200 |
commit | 7c14c24250d90773ef9dee384d89fff9e094be7b (patch) | |
tree | 00404affc68f11cbac2c5d452dc17231a1e4780c | |
parent | df8737eb354af4e48d53c7b848ca8da9e2182929 (diff) | |
download | ffmpeg-7c14c24250d90773ef9dee384d89fff9e094be7b.tar.gz |
sws: fix a huge amount of incompatible pointer type arguments warnings.
-rw-r--r-- | libswscale/swscale.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 0f886486e8..d54ba3f7cf 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -1733,7 +1733,8 @@ rgb16_32ToUV_half_c_template(int16_t *dstU, int16_t *dstV, static void name ## ToY_c(uint8_t *dst, const uint8_t *src, \ int width, uint32_t *unused) \ { \ - rgb16_32ToY_c_template(dst, src, width, fmt, shr, shg, shb, shp, \ + rgb16_32ToY_c_template((int16_t*)dst, src, width, fmt, \ + shr, shg, shb, shp, \ maskr, maskg, maskb, rsh, gsh, bsh, S); \ } \ \ @@ -1741,7 +1742,8 @@ static void name ## ToUV_c(uint8_t *dstU, uint8_t *dstV, \ const uint8_t *src, const uint8_t *dummy, \ int width, uint32_t *unused) \ { \ - rgb16_32ToUV_c_template(dstU, dstV, src, width, fmt, shr, shg, shb, shp, \ + rgb16_32ToUV_c_template((int16_t*)dstU, (int16_t*)dstV, src, width, fmt, \ + shr, shg, shb, shp, \ maskr, maskg, maskb, rsh, gsh, bsh, S); \ } \ \ @@ -1749,7 +1751,8 @@ static void name ## ToUV_half_c(uint8_t *dstU, uint8_t *dstV, \ const uint8_t *src, const uint8_t *dummy, \ int width, uint32_t *unused) \ { \ - rgb16_32ToUV_half_c_template(dstU, dstV, src, width, fmt, shr, shg, shb, shp, \ + rgb16_32ToUV_half_c_template((int16_t*)dstU, (int16_t*)dstV, src, width, fmt, \ + shr, shg, shb, shp, \ maskr, maskg, maskb, rsh, gsh, bsh, S); \ } |