aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-04-13 16:11:39 +0100
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-04-13 16:11:39 +0100
commitbe6b58a98171030687cb0a770589207a5811c92d (patch)
treed934c448fd9eee167378481f464ad207017b324c
parent3bf368a2a643291442829bf2b7583f7a8a0eee47 (diff)
parent7a6cf2771414c7ab8bca0811d589f6091a6e2b71 (diff)
downloadffmpeg-be6b58a98171030687cb0a770589207a5811c92d.tar.gz
Merge commit '7a6cf2771414c7ab8bca0811d589f6091a6e2b71'
* commit '7a6cf2771414c7ab8bca0811d589f6091a6e2b71': lavu: improve documentation of some AVFrame functions Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-rw-r--r--libavutil/frame.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavutil/frame.h b/libavutil/frame.h
index 89f41fc7be..2d6299b20b 100644
--- a/libavutil/frame.h
+++ b/libavutil/frame.h
@@ -634,8 +634,9 @@ void av_frame_move_ref(AVFrame *dst, AVFrame *src);
* necessary, allocate and fill AVFrame.extended_data and AVFrame.extended_buf.
* For planar formats, one buffer will be allocated for each plane.
*
- * @warning: if frame already has been allocated, undefined behaviour, including
- * memory leaks, can occur.
+ * @warning: if frame already has been allocated, calling this function will
+ * leak memory. In addition, undefined behavior can occur in certain
+ * cases.
*
* @param frame frame in which to store the new buffers.
* @param align required buffer size alignment