summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg_opt.c
diff options
context:
space:
mode:
authorMarvin Scholz <epirat07@gmail.com>2022-11-26 15:46:18 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-12-01 11:21:14 +0100
commitf1907faab4023517af7d10d746b5684cccc5cfcc (patch)
tree63c0058ce106ab2d33b06b3f833299a802e2ef82 /fftools/ffmpeg_opt.c
parent7b450bafd72dee8aa1d8b77fe34407e70f9f93cc (diff)
downloadffmpeg-f1907faab4023517af7d10d746b5684cccc5cfcc.tar.gz
fftools: use av_dict_iterate
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
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 a9dcf0e088..3df02b7d7f 100644
--- a/fftools/ffmpeg_opt.c
+++ b/fftools/ffmpeg_opt.c
@@ -169,7 +169,7 @@ AVDictionary *strip_specifiers(const AVDictionary *dict)
const AVDictionaryEntry *e = NULL;
AVDictionary *ret = NULL;
- while ((e = av_dict_get(dict, "", e, AV_DICT_IGNORE_SUFFIX))) {
+ while ((e = av_dict_iterate(dict, e))) {
char *p = strchr(e->key, ':');
if (p)