diff options
author | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2014-05-11 05:20:44 +0200 |
---|---|---|
committer | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2014-05-20 00:00:44 +0200 |
commit | ce051ceefc7040fe0af311e4ee5d702d4b402dbf (patch) | |
tree | d3d589f562463a4c2b04941f01bd63de79213ef1 /libavfilter | |
parent | d15db8e413e9fd8455989cfa1af94bc63a3c9e35 (diff) | |
download | ffmpeg-streaming-ce051ceefc7040fe0af311e4ee5d702d4b402dbf.zip ffmpeg-streaming-ce051ceefc7040fe0af311e4ee5d702d4b402dbf.tar.gz |
lavfi/vf_fps: use av_fifo_alloc_array
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_fps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_fps.c b/libavfilter/vf_fps.c index ad7297a..a38633d 100644 --- 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; |