You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avformat/matroskaenc: use av_dict_iterate
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
committed by
Andreas Rheinhardt
parent
643c2b4722
commit
d75d8370bd
@@ -2048,7 +2048,7 @@ static int mkv_write_tag(MatroskaMuxContext *mkv, const AVDictionary *m,
|
|||||||
|
|
||||||
mkv_write_tag_targets(mkv, tmp_bc, elementid, uid);
|
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)) {
|
if (mkv_check_tag_name(t->key, elementid)) {
|
||||||
ret = mkv_write_simpletag(tmp_bc, t);
|
ret = mkv_write_simpletag(tmp_bc, t);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
Reference in New Issue
Block a user