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

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