diff options
author | Marvin Scholz <epirat07@gmail.com> | 2022-11-26 15:46:47 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-12-01 11:21:15 +0100 |
commit | d75d8370bd1c08f488ed0b30794f72e03f67c7a3 (patch) | |
tree | 14fcf7b45b13a1cec3ae5b05b02e9a21c8f49fc0 | |
parent | 643c2b4722281a125e1cb86f517a7dbc442a37ac (diff) | |
download | ffmpeg-d75d8370bd1c08f488ed0b30794f72e03f67c7a3.tar.gz |
avformat/matroskaenc: use av_dict_iterate
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | libavformat/matroskaenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 2be4f87284..2deb4284e8 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -2048,7 +2048,7 @@ static int mkv_write_tag(MatroskaMuxContext *mkv, const AVDictionary *m, mkv_write_tag_targets(mkv, tmp_bc, elementid, uid); - while ((t = av_dict_get(m, "", t, AV_DICT_IGNORE_SUFFIX))) { + while ((t = av_dict_iterate(m, t))) { if (mkv_check_tag_name(t->key, elementid)) { ret = mkv_write_simpletag(tmp_bc, t); if (ret < 0) |