avutil/mem: Deprecate av_mallocz_array()

It does the same as av_calloc(), so one of them should be removed.
Given that av_calloc() has the shorter name, it is retained.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2021-09-14 23:32:37 +02:00
parent 1ea3650823
commit 8d5de914d3
4 changed files with 16 additions and 7 deletions

View file

@ -14,6 +14,9 @@ libavutil: 2021-04-27
API changes, most recent first:
2021-09-20 - xxxxxxxxxx - lavu 57.6.100 - mem.h
Deprecate av_mallocz_array() as it is identical to av_calloc().
2021-09-20 - xxxxxxxxxx - lavc 59.9.100 - avcodec.h
Deprecate AVCodecContext.sub_text_format and the corresponding
AVOptions. It is unused since the last major bump.