Commit 11362767 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

Merge declaration and initialization.

Originally committed as revision 12676 to svn://
parent 9b7ca3b7
......@@ -131,9 +131,7 @@ void av_freep(void *arg)
void *av_mallocz(unsigned int size)
void *ptr;
ptr = av_malloc(size);
void *ptr = av_malloc(size);
if (ptr)
memset(ptr, 0, size);
return ptr;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment