diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2016-07-25 01:33:01 +0300 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2016-08-12 12:41:58 +0300 |
commit | 602abe77b02f9702c18c2787d208fcfc9d94b70f (patch) | |
tree | fd857f2dfda9adcdfa4fd2e91d7695ab482317f4 /avconv_filter.c | |
parent | f2143c57b6a61fef382f3128138d8558a9bdecee (diff) |
avconv: Check the fifo allocation
Diffstat (limited to 'avconv_filter.c')
-rw-r--r-- | avconv_filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avconv_filter.c b/avconv_filter.c index b78d3bdb94..43308024f2 100644 --- a/avconv_filter.c +++ b/avconv_filter.c @@ -181,7 +181,7 @@ static void init_input_filter(FilterGraph *fg, AVFilterInOut *in) fg->inputs[fg->nb_inputs - 1]->format = -1; fg->inputs[fg->nb_inputs - 1]->frame_queue = av_fifo_alloc(8 * sizeof(AVFrame*)); - if (!fg->inputs[fg->nb_inputs - 1]) + if (!fg->inputs[fg->nb_inputs - 1]->frame_queue) exit_program(1); GROW_ARRAY(ist->filters, ist->nb_filters); |