[FFmpeg-devel] [PATCH 30/31] avformat/matroskaenc: use av_dict_iterate
Marvin Scholz
epirat07 at gmail.com
Fri Nov 25 03:30:45 EET 2022
---
libavformat/matroskaenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
--
2.37.0 (Apple Git-136)
More information about the ffmpeg-devel
mailing list