summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-11-15 15:53:53 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-11-15 15:53:53 +0000
commitdffcdbb5f67c5b710b10d745caadcd49cad6ab01 (patch)
tree0a29d765687ccf4410d4ab4f80bb7b3dbc24a2cc /libavcodec/avcodec.h
parent9286699a67ed0c2ece48b9bc676690a484a70e7c (diff)
extradata and FF_INPUT_BUFFER_PADDING_SIZE doc
Originally committed as revision 3684 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index afdce31fde..7301b0db42 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -673,6 +673,8 @@ typedef struct AVCodecContext {
* mjpeg: huffman tables
* rv10: additional flags
* mpeg4: global headers (they can be in the bitstream or here)
+ * the allocated memory should be FF_INPUT_BUFFER_PADDING_SIZE bytes larger
+ * then extradata_size to avoid prolems if its read with the bitstream reader
* - encoding: set/allocated/freed by lavc.
* - decoding: set/allocated/freed by user.
*/