diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-06-01 03:25:07 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-06-01 03:25:07 +0000 |
commit | 72d6b61074ae581cb9841510e0c8d3d330f982d8 (patch) | |
tree | 6b13e8c3bdf44a18ff9bdc6ab4aca02991cf237a | |
parent | 774c386a101f1e561dfee18c9ad4e8de50d5d0e9 (diff) | |
download | ffmpeg-72d6b61074ae581cb9841510e0c8d3d330f982d8.tar.gz |
remove useless casts
Originally committed as revision 26944 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
-rw-r--r-- | libswscale/rgb2rgb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libswscale/rgb2rgb.c b/libswscale/rgb2rgb.c index 2489746cb6..ce0e0ee31a 100644 --- a/libswscale/rgb2rgb.c +++ b/libswscale/rgb2rgb.c @@ -372,7 +372,7 @@ void rgb24tobgr32(const uint8_t *src, uint8_t *dst, long src_size) void rgb16tobgr32(const uint8_t *src, uint8_t *dst, long src_size) { const uint16_t *end; - uint8_t *d = (uint8_t *)dst; + uint8_t *d = dst; const uint16_t *s = (const uint16_t *)src; end = s + src_size/2; while (s < end) @@ -396,7 +396,7 @@ void rgb16tobgr32(const uint8_t *src, uint8_t *dst, long src_size) void rgb16tobgr24(const uint8_t *src, uint8_t *dst, long src_size) { const uint16_t *end; - uint8_t *d = (uint8_t *)dst; + uint8_t *d = dst; const uint16_t *s = (const uint16_t *)src; end = s + src_size/2; while (s < end) @@ -446,7 +446,7 @@ void rgb16tobgr15(const uint8_t *src, uint8_t *dst, long src_size) void rgb15tobgr32(const uint8_t *src, uint8_t *dst, long src_size) { const uint16_t *end; - uint8_t *d = (uint8_t *)dst; + uint8_t *d = dst; const uint16_t *s = (const uint16_t *)src; end = s + src_size/2; while (s < end) @@ -470,7 +470,7 @@ void rgb15tobgr32(const uint8_t *src, uint8_t *dst, long src_size) void rgb15tobgr24(const uint8_t *src, uint8_t *dst, long src_size) { const uint16_t *end; - uint8_t *d = (uint8_t *)dst; + uint8_t *d = dst; const uint16_t *s = (const uint16_t *)src; end = s + src_size/2; while (s < end) |