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/smoothstreamingenc: Use av_mallocz_array()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer
11 years ago
parent
b67bcd784d
commit
c1b15c16ef
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/smoothstreamingenc.c
+ 1
- 1
libavformat/smoothstreamingenc.c
View File
@@ -303,7 +303,7 @@ static int ism_write_header(AVFormatContext *s)
goto fail;
}
c->streams = av_mallocz
(sizeof(*c->streams) * s->nb_streams
);
c->streams = av_mallocz
_array(s->nb_streams, sizeof(*c->streams)
);
if (!c->streams) {
ret = AVERROR(ENOMEM);
goto fail;
Write
Preview
Loading…
Cancel
Save