aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/cmdutils.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-07-13 15:11:07 +0200
committerAnton Khirnov <anton@khirnov.net>2023-07-20 20:40:26 +0200
commit37abb3a41913a7f5b83c0f81acb6775f127c86c4 (patch)
tree8a9fc26ae4cf7bdbb51403a19a31e76dbe59f7d2 /fftools/cmdutils.h
parent13ebc9a0a9b6b67e7bd896a729d9651a24373135 (diff)
downloadffmpeg-37abb3a41913a7f5b83c0f81acb6775f127c86c4.tar.gz
fftools/cmdutils: return error codes from setup_find_stream_info_opts() instead of aborting
Diffstat (limited to 'fftools/cmdutils.h')
-rw-r--r--fftools/cmdutils.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/fftools/cmdutils.h b/fftools/cmdutils.h
index 0115940225..f54f3322ef 100644
--- a/fftools/cmdutils.h
+++ b/fftools/cmdutils.h
@@ -364,12 +364,10 @@ AVDictionary *filter_codec_opts(AVDictionary *opts, enum AVCodecID codec_id,
* contained in s.
* Each dictionary will contain the options from codec_opts which can
* be applied to the corresponding stream codec context.
- *
- * @return pointer to the created array of dictionaries.
- * Calls exit() on failure.
*/
-AVDictionary **setup_find_stream_info_opts(AVFormatContext *s,
- AVDictionary *codec_opts);
+int setup_find_stream_info_opts(AVFormatContext *s,
+ AVDictionary *codec_opts,
+ AVDictionary ***dst);
/**
* Print an error message to stderr, indicating filename and a human