From 44b0edda3f4f8006c16e1b124199cafaf6363f3d Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sat, 31 Dec 2011 16:30:59 +0100 Subject: Drop some pointless void* return value casts from av_malloc() invocations. --- libavformat/rmenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/rmenc.c') diff --git a/libavformat/rmenc.c b/libavformat/rmenc.c index 0846a0ac15..0312d161c7 100644 --- a/libavformat/rmenc.c +++ b/libavformat/rmenc.c @@ -355,7 +355,7 @@ static int rm_write_audio(AVFormatContext *s, const uint8_t *buf, int size, int int i; /* XXX: suppress this malloc */ - buf1= (uint8_t*) av_malloc( size * sizeof(uint8_t) ); + buf1 = av_malloc(size * sizeof(uint8_t)); write_packet_header(s, stream, size, !!(flags & AV_PKT_FLAG_KEY)); -- cgit v1.2.3