summaryrefslogtreecommitdiff
path: root/libavcodec/imgconvert.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-12-31 16:30:59 +0100
committerDiego Biurrun <diego@biurrun.de>2012-01-02 16:41:24 +0100
commit44b0edda3f4f8006c16e1b124199cafaf6363f3d (patch)
tree57684e719597a73517666eba9504ddc78f12d954 /libavcodec/imgconvert.c
parent3a1867deac3112b925648b07737be26f4b13f33a (diff)
Drop some pointless void* return value casts from av_malloc() invocations.
Diffstat (limited to 'libavcodec/imgconvert.c')
-rw-r--r--libavcodec/imgconvert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c
index eb398f7107..eab051bacc 100644
--- a/libavcodec/imgconvert.c
+++ b/libavcodec/imgconvert.c
@@ -1000,7 +1000,7 @@ static void deinterlace_bottom_field_inplace(uint8_t *src1, int src_wrap,
uint8_t *src_m1, *src_0, *src_p1, *src_p2;
int y;
uint8_t *buf;
- buf = (uint8_t*)av_malloc(width);
+ buf = av_malloc(width);
src_m1 = src1;
memcpy(buf,src_m1,width);