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
avfilter/af_amix: Use av_mallocz_array()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.7
Michael Niedermayer
10 years ago
parent
8a8a1cce6c
commit
34bddf443c
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavfilter/af_amix.c
+ 1
- 1
libavfilter/af_amix.c
View File
@@ -232,7 +232,7 @@ static int config_output(AVFilterLink *outlink)
if (!s->frame_list)
return AVERROR(ENOMEM);
s->fifos = av_mallocz
(s->nb_inputs *
sizeof(*s->fifos));
s->fifos = av_mallocz
_array(s->nb_inputs,
sizeof(*s->fifos));
if (!s->fifos)
return AVERROR(ENOMEM);
Write
Preview
Loading…
Cancel
Save