fftools/cmdutils: add option syntax for loading arbitrary arguments from a file

Aligned with analogous feature for filter options in ffmpeg CLI.
This commit is contained in:
Anton Khirnov
2022-03-15 09:16:18 +01:00
parent 8aed3911fc
commit 6d17991b7e
6 changed files with 97 additions and 43 deletions

View File

@@ -470,4 +470,7 @@ void *allocate_array_elem(void *array, size_t elem_size, int *nb_elems);
double get_rotation(const int32_t *displaymatrix);
/* read file contents into a string */
char *file_read(const char *filename);
#endif /* FFTOOLS_CMDUTILS_H */