summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg.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.c
parent7b450bafd72dee8aa1d8b77fe34407e70f9f93cc (diff)
fftools: use av_dict_iterate
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'fftools/ffmpeg.c')
-rw-r--r--fftools/ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 771219f7df..881d6f0af2 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -611,7 +611,7 @@ void remove_avoptions(AVDictionary **a, AVDictionary *b)
{
const AVDictionaryEntry *t = NULL;
- while ((t = av_dict_get(b, "", t, AV_DICT_IGNORE_SUFFIX))) {
+ while ((t = av_dict_iterate(b, t))) {
av_dict_set(a, t->key, NULL, AV_DICT_MATCH_CASE);
}
}