This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
ffprobe: Use av_malloc_array()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer
11 years ago
parent
3d4e365073
commit
f0211f4189
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
ffprobe.c
+ 1
- 1
ffprobe.c
View File
@@ -2740,7 +2740,7 @@ static int parse_read_intervals(const char *intervals_spec)
n++;
n++;
n++;
n++;
read_intervals = av_malloc
(n *
sizeof(*read_intervals));
read_intervals = av_malloc
_array(n,
sizeof(*read_intervals));
if (!read_intervals) {
if (!read_intervals) {
ret = AVERROR(ENOMEM);
ret = AVERROR(ENOMEM);
goto end;
goto end;
Write
Preview
Loading…
Cancel
Save