diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-12-31 16:30:59 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-01-02 16:41:24 +0100 |
commit | 44b0edda3f4f8006c16e1b124199cafaf6363f3d (patch) | |
tree | 57684e719597a73517666eba9504ddc78f12d954 /libavformat | |
parent | 3a1867deac3112b925648b07737be26f4b13f33a (diff) | |
download | ffmpeg-44b0edda3f4f8006c16e1b124199cafaf6363f3d.tar.gz |
Drop some pointless void* return value casts from av_malloc() invocations.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/rmenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |