mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 22:25:36 +01: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:
@@ -460,7 +460,7 @@ static av_cold int libx265_encode_set_roi(libx265Context *ctx, const AVFrame *fr
|
||||
}
|
||||
nb_rois = sd->size / roi_size;
|
||||
|
||||
qoffsets = av_mallocz_array(mbx * mby, sizeof(*qoffsets));
|
||||
qoffsets = av_calloc(mbx * mby, sizeof(*qoffsets));
|
||||
if (!qoffsets)
|
||||
return AVERROR(ENOMEM);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user