diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2013-03-05 15:19:47 +0100 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2013-03-05 15:43:32 +0100 |
commit | 9b211c43dc5f2e618f204c4a7fd184eb2ea51f02 (patch) | |
tree | 46b46a32a32f339484295bfff031ef97fdba9441 /libavformat/ffmetadec.c | |
parent | ad4855613520fd14e90ff8c551bfd99cd464e080 (diff) | |
download | ffmpeg-9b211c43dc5f2e618f204c4a7fd184eb2ea51f02.tar.gz |
examples/muxing: fix memory leak.
Do not re-call avcodec_get_context_defaults3(), it is already
called by avformat_new_stream() and it leaks the codec
priv_data that was already allocated.
Use avformat_free_context() instead of freeing (not)
everything manually.
Fix trac ticket #2322.
Diffstat (limited to 'libavformat/ffmetadec.c')
0 files changed, 0 insertions, 0 deletions