summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg_opt.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-11-14 11:18:26 +0100
committerAnton Khirnov <anton@khirnov.net>2022-11-17 10:52:58 +0100
commit52380a055b358b8611d88fc02b3a477cac2e4f0c (patch)
tree57a719d95560b5dbbd36df7b9a8cc28ebe8b9a02 /fftools/ffmpeg_opt.c
parent0fb7d111e891b7256a44227e193686c41ae6a986 (diff)
downloadffmpeg-52380a055b358b8611d88fc02b3a477cac2e4f0c.tar.gz
fftools/ffmpeg_mux_init: move validating codec avoptions to a separate function
Diffstat (limited to 'fftools/ffmpeg_opt.c')
-rw-r--r--fftools/ffmpeg_opt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c
index 0fd9d98f0f..5ab296828b 100644
--- a/fftools/ffmpeg_opt.c
+++ b/fftools/ffmpeg_opt.c
@@ -165,7 +165,7 @@ static int show_hwaccels(void *optctx, const char *opt, const char *arg)
}
/* return a copy of the input with the stream specifiers removed from the keys */
-AVDictionary *strip_specifiers(AVDictionary *dict)
+AVDictionary *strip_specifiers(const AVDictionary *dict)
{
const AVDictionaryEntry *e = NULL;
AVDictionary *ret = NULL;