mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-04 13:53:26 +00:00
avcodec/libxavs2: use av_dict_iterate
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
d5d6e5ccec
commit
0b3092aed3
@ -96,8 +96,8 @@ static av_cold int xavs2_init(AVCodecContext *avctx)
|
|||||||
xavs2_opt_set2("OpenGOP", "%d", !(avctx->flags & AV_CODEC_FLAG_CLOSED_GOP));
|
xavs2_opt_set2("OpenGOP", "%d", !(avctx->flags & AV_CODEC_FLAG_CLOSED_GOP));
|
||||||
|
|
||||||
{
|
{
|
||||||
AVDictionaryEntry *en = NULL;
|
const AVDictionaryEntry *en = NULL;
|
||||||
while ((en = av_dict_get(cae->xavs2_opts, "", en, AV_DICT_IGNORE_SUFFIX)))
|
while ((en = av_dict_iterate(cae->xavs2_opts, en)))
|
||||||
xavs2_opt_set2(en->key, "%s", en->value);
|
xavs2_opt_set2(en->key, "%s", en->value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user