summaryrefslogtreecommitdiff
path: root/libavformat/internal.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2018-03-07 10:03:46 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2018-03-07 20:37:33 +0100
commit5735a390a69df29b426d7626d63cd06baa30bc38 (patch)
treecfb667bcb450a58e088d6d1af16458073a0911ef /libavformat/internal.h
parentb59b59944693e645cdcf5e61b60f288820fe48c3 (diff)
avformat/internal: Document the freeing behavior of ff_alloc_extradata()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r--libavformat/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h
index 2ac7e2e1a0..a020b1b417 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -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
* which is always set to 0.
*
+ * Previously allocated extradata in par will be freed.
+ *
* @param size size of extradata
* @return 0 if OK, AVERROR_xxx on error
*/