diff options
Diffstat (limited to 'doc/examples/metadata.c')
-rw-r--r-- | doc/examples/metadata.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/examples/metadata.c b/doc/examples/metadata.c index f4c6eee..f73c267 100644 --- a/doc/examples/metadata.c +++ b/doc/examples/metadata.c @@ -22,8 +22,8 @@ /** * @file - * @example metadata.c * Shows how the metadata API can be used in application programs. + * @example metadata.c */ #include <stdio.h> @@ -51,6 +51,6 @@ int main (int argc, char **argv) while ((tag = av_dict_get(fmt_ctx->metadata, "", tag, AV_DICT_IGNORE_SUFFIX))) printf("%s=%s\n", tag->key, tag->value); - avformat_free_context(fmt_ctx); + avformat_close_input(&fmt_ctx); return 0; } |