aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMarvin Scholz <epirat07@gmail.com>2022-11-26 15:46:38 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-12-01 11:21:14 +0100
commit8298f20c590d55bfe8cb08bb825240fd7c2e2d65 (patch)
tree72ac984de91b10fb96d4e6770e3a031e4ca9cb4e /libavformat
parent6c4f23cc206f0b034ebfb767d0f35c586c5d2b1e (diff)
downloadffmpeg-8298f20c590d55bfe8cb08bb825240fd7c2e2d65.tar.gz
avformat/lrcenc: use av_dict_iterate
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/lrcenc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/lrcenc.c b/libavformat/lrcenc.c
index f7a5a6982d..2d6ca33e38 100644
--- a/libavformat/lrcenc.c
+++ b/libavformat/lrcenc.c
@@ -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;