summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorLukasz Marek <lukasz.m.luki2@gmail.com>2014-05-11 05:15:49 +0200
committerLukasz Marek <lukasz.m.luki2@gmail.com>2014-05-20 00:00:44 +0200
commit4d686674b26596ccf951528a85526977016db8dd (patch)
tree6adbdb1ec8eea75cf1f6f1e53155a421a6f5613c /ffmpeg.c
parent51bad41a13c702fc474ad76e53c3d43fa302fe83 (diff)
ffmpeg: use av_fifo_alloc_array
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 9df3b829d2..7ec5889fae 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3180,7 +3180,7 @@ static int init_input_threads(void)
for (i = 0; i < nb_input_files; i++) {
InputFile *f = input_files[i];
- if (!(f->fifo = av_fifo_alloc(8*sizeof(AVPacket))))
+ if (!(f->fifo = av_fifo_alloc_array(8, sizeof(AVPacket))))
return AVERROR(ENOMEM);
if (f->ctx->pb ? !f->ctx->pb->seekable :