Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2018-08-24 20:57:42 +0300
committerTimo Rothenpieler <timo@rothenpieler.org>2018-08-25 19:31:12 +0300
commit0c71c6d66f9ae8265158181e5b1cbc5c63525fde (patch)
tree46a3bf3eb18d237d5e78d136ae7c34890113cf0d /libavcodec/avcodec.h
parentd6915d0d45104c74f506eb51879be62c6239bd51 (diff)
avcodec/utils: document allocation requirement of extradata
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 2a4be2ca4f..86a658a233 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1617,6 +1617,7 @@ typedef struct AVCodecContext {
* The allocated memory should be AV_INPUT_BUFFER_PADDING_SIZE bytes larger
* than extradata_size to avoid problems if it is read with the bitstream reader.
* The bytewise contents of extradata must not depend on the architecture or CPU endianness.
+ * Must be allocated with the av_malloc() family of functions.
* - encoding: Set/allocated/freed by libavcodec.
* - decoding: Set/allocated/freed by user.
*/