diff options
author | Marvin Scholz <epirat07@gmail.com> | 2022-11-26 15:46:25 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-12-01 11:21:14 +0100 |
commit | 1cf526c37a7c7a7ea8d2e262da918f1e43381f71 (patch) | |
tree | 9c83da035e83b4f2c44236f1409cd1704bf8a647 /libavfilter/vf_scale.c | |
parent | f8584c13f0b35a22badf952e88f993d68fa5f980 (diff) | |
download | ffmpeg-1cf526c37a7c7a7ea8d2e262da918f1e43381f71.tar.gz |
avfilter/vf_scale: use av_dict_iterate
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/vf_scale.c')
-rw-r--r-- | libavfilter/vf_scale.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index 2b12cf283c..b95e2e6c66 100644 --- a/libavfilter/vf_scale.c +++ b/libavfilter/vf_scale.c @@ -555,8 +555,8 @@ static int config_props(AVFilterLink *outlink) scale->out_range == AVCOL_RANGE_JPEG, 0); if (scale->opts) { - AVDictionaryEntry *e = NULL; - while ((e = av_dict_get(scale->opts, "", e, AV_DICT_IGNORE_SUFFIX))) { + const AVDictionaryEntry *e = NULL; + while ((e = av_dict_iterate(scale->opts, e))) { if ((ret = av_opt_set(s, e->key, e->value, 0)) < 0) return ret; } |