diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-11-15 15:53:53 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-11-15 15:53:53 +0000 |
commit | dffcdbb5f67c5b710b10d745caadcd49cad6ab01 (patch) | |
tree | 0a29d765687ccf4410d4ab4f80bb7b3dbc24a2cc | |
parent | 9286699a67ed0c2ece48b9bc676690a484a70e7c (diff) | |
download | ffmpeg-dffcdbb5f67c5b710b10d745caadcd49cad6ab01.tar.gz |
extradata and FF_INPUT_BUFFER_PADDING_SIZE doc
Originally committed as revision 3684 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/avcodec.h | 2 |
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. */ |