mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
Merge declaration and initialization.
Originally committed as revision 12676 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
9b7ca3b71d
commit
11362767b8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user