Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests/api
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-14 22:31:53 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-20 02:03:52 +0300
commit1ea365082318f06cd42a8b37dd0c7724b599c821 (patch)
tree4df48a8b9f4614803fd2a88c29ad2ff7f7070294 /tests/api
parent4b154743163ffbe3fdc50759c0c55dc854636488 (diff)
Replace all occurences of av_mallocz_array() by av_calloc()
They do the same. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tests/api')
-rw-r--r--tests/api/api-threadmessage-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/api/api-threadmessage-test.c b/tests/api/api-threadmessage-test.c
index b6a74f678b..c96b473c43 100644
--- a/tests/api/api-threadmessage-test.c
+++ b/tests/api/api-threadmessage-test.c
@@ -198,8 +198,8 @@ int main(int ac, char **av)
nb_senders, sender_min_load, sender_max_load,
nb_receivers, receiver_min_load, receiver_max_load);
- senders = av_mallocz_array(nb_senders, sizeof(*senders));
- receivers = av_mallocz_array(nb_receivers, sizeof(*receivers));
+ senders = av_calloc(nb_senders, sizeof(*senders));
+ receivers = av_calloc(nb_receivers, sizeof(*receivers));
if (!senders || !receivers) {
ret = AVERROR(ENOMEM);
goto end;