diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-15 01:56:52 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-15 01:56:52 +0200 |
commit | 09cd22860fefef50d9bcb32b1bd9806d860980e2 (patch) | |
tree | e885ff1bb6ed94fb72d64a287102ebdc763386e7 /libavformat/libnut.c | |
parent | f6d17d2aa98efebd84e55c34a2a5c47fa4a71cd7 (diff) | |
download | ffmpeg-09cd22860fefef50d9bcb32b1bd9806d860980e2.tar.gz |
avformat/libnut: use av_mallocz_array()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/libnut.c')
-rw-r--r-- | libavformat/libnut.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/libnut.c b/libavformat/libnut.c index be8f3cb283..4a9a21a766 100644 --- a/libavformat/libnut.c +++ b/libavformat/libnut.c @@ -70,7 +70,7 @@ static int nut_write_header(AVFormatContext * avf) { nut_stream_header_tt * s; int i; - priv->s = s = av_mallocz((avf->nb_streams + 1) * sizeof*s); + priv->s = s = av_mallocz_array(avf->nb_streams + 1, sizeof*s); if(!s) return AVERROR(ENOMEM); |