summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-27 21:35:57 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-01 01:34:26 +0100
commitd36cb46681aa861b307e1fd378c543e1d84eb578 (patch)
treedac45548e5beef01d14506f7154965c144115c71
parentfbf1e5135298b7c8e8f6ca2680b41b4af9ed4e4f (diff)
avcodec/libxeve: Use av_dict_iterate()
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/libxeve.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libxeve.c b/libavcodec/libxeve.c
index ef1681d397..c923ac1cac 100644
--- a/libavcodec/libxeve.c
+++ b/libavcodec/libxeve.c
@@ -354,8 +354,8 @@ static av_cold int libxeve_init(AVCodecContext *avctx)
}
{
- AVDictionaryEntry *en = NULL;
- while (en = av_dict_get(xectx->xeve_params, "", en, AV_DICT_IGNORE_SUFFIX)) {
+ const AVDictionaryEntry *en = NULL;
+ while (en = av_dict_iterate(xectx->xeve_params, en)) {
if ((ret = xeve_param_parse(&cdsc->param, en->key, en->value)) < 0) {
av_log(avctx, AV_LOG_WARNING,
"Error parsing option '%s = %s'.\n",