|
|
|
@ -1265,8 +1265,7 @@ static int open_input_file(OptionsContext *o, const char *filename) |
|
|
|
|
/* dump the file content */ |
|
|
|
|
av_dump_format(ic, nb_input_files, filename, 0); |
|
|
|
|
|
|
|
|
|
ALLOC_ARRAY_ELEM(input_files, nb_input_files); |
|
|
|
|
f = input_files[nb_input_files - 1]; |
|
|
|
|
f = ALLOC_ARRAY_ELEM(input_files, nb_input_files); |
|
|
|
|
|
|
|
|
|
f->ctx = ic; |
|
|
|
|
f->ist_index = nb_input_streams - ic->nb_streams; |
|
|
|
@ -2260,8 +2259,7 @@ static int open_output_file(OptionsContext *o, const char *filename) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
ALLOC_ARRAY_ELEM(output_files, nb_output_files); |
|
|
|
|
of = output_files[nb_output_files - 1]; |
|
|
|
|
of = ALLOC_ARRAY_ELEM(output_files, nb_output_files); |
|
|
|
|
|
|
|
|
|
of->ost_index = nb_output_streams; |
|
|
|
|
of->recording_time = o->recording_time; |
|
|
|
@ -3278,8 +3276,7 @@ static int opt_filter_complex_script(void *optctx, const char *opt, const char * |
|
|
|
|
if (!graph_desc) |
|
|
|
|
return AVERROR(EINVAL); |
|
|
|
|
|
|
|
|
|
ALLOC_ARRAY_ELEM(filtergraphs, nb_filtergraphs); |
|
|
|
|
fg = filtergraphs[nb_filtergraphs - 1]; |
|
|
|
|
fg = ALLOC_ARRAY_ELEM(filtergraphs, nb_filtergraphs); |
|
|
|
|
fg->index = nb_filtergraphs - 1; |
|
|
|
|
fg->graph_desc = graph_desc; |
|
|
|
|
|
|
|
|
|