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.
Showing the changes to doc/APIchanges (1 of 4 files). Show all
Unified · Split
| @@ -14,6 +14,9 @@ libavutil: 2021-04-27 · 13 unmodified lines | |||
| 14 | 14 | ||
| 15 | API changes, most recent first: | 15 | API changes, most recent first: |
| 16 | 16 | ||
| 17 | 2021-09-20 - xxxxxxxxxx - lavu 57.6.100 - mem.h | ||
| 18 | Deprecate av_mallocz_array() as it is identical to av_calloc(). | ||
| 19 | |||
| 17 | 2021-09-20 - xxxxxxxxxx - lavc 59.9.100 - avcodec.h | 20 | 2021-09-20 - xxxxxxxxxx - lavc 59.9.100 - avcodec.h |
| 18 | Deprecate AVCodecContext.sub_text_format and the corresponding | 21 | Deprecate AVCodecContext.sub_text_format and the corresponding |
| 19 | AVOptions. It is unused since the last major bump. | 22 | AVOptions. It is unused since the last major bump. |