aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/cmdutils.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-03-15 09:16:18 +0100
committerAnton Khirnov <anton@khirnov.net>2024-01-20 10:23:24 +0100
commit6d17991b7e1bf1a5d104c8a6261709f7e6640d97 (patch)
tree26e527bec578435c492a9d944642cb01876a148d /fftools/cmdutils.h
parent8aed3911fc454e79697e183660bf30d31334a64b (diff)
downloadffmpeg-6d17991b7e1bf1a5d104c8a6261709f7e6640d97.tar.gz
fftools/cmdutils: add option syntax for loading arbitrary arguments from a file
Aligned with analogous feature for filter options in ffmpeg CLI.
Diffstat (limited to 'fftools/cmdutils.h')
-rw-r--r--fftools/cmdutils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fftools/cmdutils.h b/fftools/cmdutils.h
index 53227abb47..8fa5ad4fc7 100644
--- a/fftools/cmdutils.h
+++ b/fftools/cmdutils.h
@@ -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 */