git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d15db8e
)
lavfi/vf_fps: use av_fifo_alloc_array
author
Lukasz Marek
<lukasz.m.luki2@gmail.com>
Sun, 11 May 2014 03:20:44 +0000
(
05:20
+0200)
committer
Lukasz Marek
<lukasz.m.luki2@gmail.com>
Mon, 19 May 2014 22:00:44 +0000
(
00:00
+0200)
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
libavfilter/vf_fps.c
patch
|
blob
|
history
diff --git
a/libavfilter/vf_fps.c
b/libavfilter/vf_fps.c
index
ad7297a
..
a38633d
100644
(file)
--- a/
libavfilter/vf_fps.c
+++ b/
libavfilter/vf_fps.c
@@
-79,7
+79,7
@@
static av_cold int init(AVFilterContext *ctx)
{
FPSContext *s = ctx->priv;
- if (!(s->fifo = av_fifo_alloc
(2*
sizeof(AVFrame*))))
+ if (!(s->fifo = av_fifo_alloc
_array(2,
sizeof(AVFrame*))))
return AVERROR(ENOMEM);
s->first_pts = AV_NOPTS_VALUE;