mem: Add av_realloc_array and av_reallocp_array

These help avoiding overflows and simplify error handling.

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö
2013-06-03 12:31:46 +03:00
parent 9683e37cd5
commit fc962d4e7a
4 changed files with 56 additions and 1 deletions

View File

@ -13,6 +13,9 @@ libavutil: 2012-10-22
API changes, most recent first:
2013-06-xx - xxxxxxx - lavu 52.13.0 - mem.h
Add av_realloc_array and av_reallocp_array
2013-05-xx - xxxxxxx - lavfi 3.10.0 - avfilter.h
Add support for slice multithreading to lavfi. Filters supporting threading
are marked with AVFILTER_FLAG_SLICE_THREADS.