Commit 5735a390 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/internal: Document the freeing behavior of ff_alloc_extradata()

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent b59b5994
...@@ -580,6 +580,8 @@ static inline int ff_rename(const char *oldpath, const char *newpath, void *logc ...@@ -580,6 +580,8 @@ static inline int ff_rename(const char *oldpath, const char *newpath, void *logc
* Allocate extradata with additional AV_INPUT_BUFFER_PADDING_SIZE at end * Allocate extradata with additional AV_INPUT_BUFFER_PADDING_SIZE at end
* which is always set to 0. * which is always set to 0.
* *
* Previously allocated extradata in par will be freed.
*
* @param size size of extradata * @param size size of extradata
* @return 0 if OK, AVERROR_xxx on error * @return 0 if OK, AVERROR_xxx on error
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment