Commit 8298f20c authored by Marvin Scholz's avatar Marvin Scholz Committed by Andreas Rheinhardt

avformat/lrcenc: use av_dict_iterate

Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
parent 6c4f23cc
......@@ -63,8 +63,7 @@ static int lrc_write_header(AVFormatContext *s)
av_dict_set(&s->metadata, "ve", NULL, 0);
}
for(metadata_item = NULL;
(metadata_item = av_dict_get(s->metadata, "", metadata_item,
AV_DICT_IGNORE_SUFFIX));) {
(metadata_item = av_dict_iterate(s->metadata, metadata_item));) {
char *delim;
if(!metadata_item->value[0]) {
continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment