png: use av_mallocz_array() for the zlib zalloc function
authorJustin Ruggles <justin.ruggles@gmail.com>
Wed, 16 Jan 2013 23:10:57 +0000 (18:10 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Fri, 8 Mar 2013 19:52:21 +0000 (14:52 -0500)
commit486f0b0cfc800cd38ec06635630539431d296774
tree49454c6dcee4ad0f9f7f9f40cfca52d2eaebd22f
parente984f47873258b600fd88423f40e3cdaad179190
png: use av_mallocz_array() for the zlib zalloc function

Fixes valgrind uninitialized memory errors when decoding png.

CC:libav-stable@libav.org
libavcodec/png.c