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
avformat/libnut: use av_mallocz_array()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer
11 years ago
parent
f6d17d2aa9
commit
09cd22860f
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/libnut.c
+ 1
- 1
libavformat/libnut.c
View File
@@ -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);
Write
Preview
Loading…
Cancel
Save