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:
51bad41
)
ffmpeg: use av_fifo_alloc_array
author
Lukasz Marek
<lukasz.m.luki2@gmail.com>
Sun, 11 May 2014 03:15:49 +0000
(
05:15
+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>
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
9df3b82
..
7ec5889
100644
(file)
--- 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 :