fftools: use av_dict_iterate

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Marvin Scholz
2022-11-26 15:46:18 +01:00
committed by Andreas Rheinhardt
parent 7b450bafd7
commit f1907faab4
7 changed files with 11 additions and 13 deletions

View File

@@ -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);
}
}