aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples
diff options
context:
space:
mode:
authorMarvin Scholz <epirat07@gmail.com>2022-11-26 15:46:33 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-12-01 11:21:14 +0100
commit4d1c9fa8712fd74206e31321c6fde1ebfb65f4a3 (patch)
treef38f361d3121dcc3280618dcd5408b54c18d6cf6 /doc/examples
parent401508b24b6c367e6ad8060fafa39659b71d9c07 (diff)
downloadffmpeg-4d1c9fa8712fd74206e31321c6fde1ebfb65f4a3.tar.gz
doc/examples/metadata: use av_dict_iterate
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/metadata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/metadata.c b/doc/examples/metadata.c
index 7c44009a24..734b12df16 100644
--- a/doc/examples/metadata.c
+++ b/doc/examples/metadata.c
@@ -52,7 +52,7 @@ int main (int argc, char **argv)
return ret;
}
- while ((tag = av_dict_get(fmt_ctx->metadata, "", tag, AV_DICT_IGNORE_SUFFIX)))
+ while ((tag = av_dict_iterate(fmt_ctx->metadata, tag)))
printf("%s=%s\n", tag->key, tag->value);
avformat_close_input(&fmt_ctx);