diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-21 15:59:22 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-21 15:59:22 +0200 |
commit | f0211f4189a500144ca5ac4d08328439b70dabcb (patch) | |
tree | 0ed66d807ca96d1dd4f615eb9f62d05ab1aee068 /ffprobe.c | |
parent | 3d4e365073c07287c351c29b58e99d0736bc640d (diff) | |
download | ffmpeg-f0211f4189a500144ca5ac4d08328439b70dabcb.tar.gz |
ffprobe: Use av_malloc_array()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffprobe.c')
-rw-r--r-- | ffprobe.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2740,7 +2740,7 @@ static int parse_read_intervals(const char *intervals_spec) n++; n++; - read_intervals = av_malloc(n * sizeof(*read_intervals)); + read_intervals = av_malloc_array(n, sizeof(*read_intervals)); if (!read_intervals) { ret = AVERROR(ENOMEM); goto end; |