1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-29 05:57:37 +02:00

mem: introduce av_malloc_array and av_mallocz_array

Both function ease allocating large arrays implementing the overflow
check inside it.
This commit is contained in:
Luca Barbato
2012-07-09 15:29:30 +02:00
parent 2d497c141d
commit f3e5e6f05b
3 changed files with 39 additions and 3 deletions

View File

@@ -13,6 +13,9 @@ libavutil: 2011-04-18
API changes, most recent first:
2012-07-10 - xxxxxxx - lavu 51.37.0
Add av_malloc_array() and av_mallocz_array()
2012-06-22 - xxxxxxx - lavu 51.34.0
Add av_usleep()