# HG changeset patch # User michael # Date 1100534033 0 # Node ID 444b9ff022a3fda22426e75f2f3cc362d4e1e1cf # Parent 06e1d7d44d19ab5a40b078afb3aa5096caf61c1c extradata and FF_INPUT_BUFFER_PADDING_SIZE doc diff -r 06e1d7d44d19 -r 444b9ff022a3 avcodec.h --- a/avcodec.h Sun Nov 14 22:05:21 2004 +0000 +++ b/avcodec.h Mon Nov 15 15:53:53 2004 +0000 @@ -673,6 +673,8 @@ * 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. */