OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8006377
)
documented that av_codec_close is required to call
author
Anshul Maheshwari
<er.anshul.maheshwari@gmail.com>
Wed, 24 Jul 2013 06:50:02 +0000
(12:20 +0530)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 24 Jul 2013 10:49:01 +0000
(12:49 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/avformat.h
patch
|
blob
|
history
diff --git
a/libavformat/avformat.h
b/libavformat/avformat.h
index
04fad94
..
d5f8a29
100644
(file)
--- a/
libavformat/avformat.h
+++ b/
libavformat/avformat.h
@@
-1405,6
+1405,9
@@
const AVClass *avformat_get_class(void);
*
* When muxing, should be called by the user before avformat_write_header().
*
+ * User is required to call avcodec_close() and avformat_free_context() to
+ * clean up the allocation by avformat_new_stream().
+ *
* @param c If non-NULL, the AVCodecContext corresponding to the new stream
* will be initialized to use this codec. This is needed for e.g. codec-specific
* defaults to be set, so codec should be provided if it is known.