mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-23 04:24:35 +02:00
avformat/ffmetaenc: use av_dict_iterate
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
b31c16d625
commit
995616b752
@ -40,8 +40,8 @@ static void write_escape_str(AVIOContext *s, const uint8_t *str)
|
||||
|
||||
static void write_tags(AVIOContext *s, AVDictionary *m)
|
||||
{
|
||||
AVDictionaryEntry *t = NULL;
|
||||
while ((t = av_dict_get(m, "", t, AV_DICT_IGNORE_SUFFIX))) {
|
||||
const AVDictionaryEntry *t = NULL;
|
||||
while ((t = av_dict_iterate(m, t))) {
|
||||
write_escape_str(s, t->key);
|
||||
avio_w8(s, '=');
|
||||
write_escape_str(s, t->value);
|
||||
|
Loading…
x
Reference in New Issue
Block a user