diff options
Diffstat (limited to 'libavformat/tee.c')
-rw-r--r-- | libavformat/tee.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tee.c b/libavformat/tee.c index 759535bdea..bb31218ac5 100644 --- a/libavformat/tee.c +++ b/libavformat/tee.c @@ -475,7 +475,7 @@ static int tee_write_header(AVFormatContext *avf) filename++; } - if (!(tee->slaves = av_mallocz_array(nb_slaves, sizeof(*tee->slaves)))) { + if (!FF_ALLOCZ_TYPED_ARRAY(tee->slaves, nb_slaves)) { ret = AVERROR(ENOMEM); goto fail; } |