mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-22 12:48:33 +00:00
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>
This commit is contained in:
parent
4b15474316
commit
1ea3650823
131 changed files with 302 additions and 301 deletions
|
@ -72,7 +72,7 @@ static int open_input_file(const char *filename)
|
|||
return ret;
|
||||
}
|
||||
|
||||
stream_ctx = av_mallocz_array(ifmt_ctx->nb_streams, sizeof(*stream_ctx));
|
||||
stream_ctx = av_calloc(ifmt_ctx->nb_streams, sizeof(*stream_ctx));
|
||||
if (!stream_ctx)
|
||||
return AVERROR(ENOMEM);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue