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/vf_dejudder: Use av_mallocz_array()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer
11 years ago
parent
263aeb826d
commit
d03eefae4a
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavfilter/vf_dejudder.c
+ 1
- 1
libavfilter/vf_dejudder.c
View File
@@ -95,7 +95,7 @@ static av_cold int dejudder_init(AVFilterContext *ctx)
{
DejudderContext *dj = ctx->priv;
dj->ringbuff = av_mallocz(sizeof(*dj->ringbuff
) * (dj->cycle+2
));
dj->ringbuff = av_mallocz
_array
(
dj->cycle+2,
sizeof(*dj->ringbuff));
if (!dj->ringbuff)
return AVERROR(ENOMEM);
Write
Preview
Loading…
Cancel
Save