mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/libxeve: Use av_dict_iterate()
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
fbf1e51352
commit
d36cb46681
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue