mem: introduce av_malloc_array and av_mallocz_array
authorLuca Barbato <lu_zero@gentoo.org>
Mon, 9 Jul 2012 13:29:30 +0000 (15:29 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Sat, 14 Jul 2012 18:07:25 +0000 (20:07 +0200)
commitf3e5e6f05bde31374eb6ea389b56d3979b5e1010
tree7697001789b63bc5027acd5c3121c172751ae0a0
parent2d497c141d1fb6df290cdf45404b01ea1697d618
mem: introduce av_malloc_array and av_mallocz_array

Both function ease allocating large arrays implementing the overflow
check inside it.
doc/APIchanges
libavutil/mem.h
libavutil/version.h