This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
doc/examples: properly close input in metadata.
Avoid some memleaks.
tags/n0.11
Clément Bœsch
13 years ago
parent
50df68fd50
commit
5e82ec9b42
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
doc/examples/metadata.c
+ 1
- 1
doc/examples/metadata.c
View File
@@ -50,6 +50,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;
}
Write
Preview
Loading…
Cancel
Save