aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarvin Scholz <epirat07@gmail.com>2022-11-26 15:46:27 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-12-01 11:21:14 +0100
commit0b3092aed30ffd38361b2c16be1a875c3f6d6c9e (patch)
treead56de16ee6299ec281e52ff2f86b8421f0d053f
parentd5d6e5ccec1af8c9d82731ef30b0303ae1e68f51 (diff)
downloadffmpeg-0b3092aed30ffd38361b2c16be1a875c3f6d6c9e.tar.gz
avcodec/libxavs2: use av_dict_iterate
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/libxavs2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libxavs2.c b/libavcodec/libxavs2.c
index 1672edfc07..c493ddc325 100644
--- a/libavcodec/libxavs2.c
+++ b/libavcodec/libxavs2.c
@@ -96,8 +96,8 @@ static av_cold int xavs2_init(AVCodecContext *avctx)
xavs2_opt_set2("OpenGOP", "%d", !(avctx->flags & AV_CODEC_FLAG_CLOSED_GOP));
{
- AVDictionaryEntry *en = NULL;
- while ((en = av_dict_get(cae->xavs2_opts, "", en, AV_DICT_IGNORE_SUFFIX)))
+ const AVDictionaryEntry *en = NULL;
+ while ((en = av_dict_iterate(cae->xavs2_opts, en)))
xavs2_opt_set2(en->key, "%s", en->value);
}