changeset 2353:444b9ff022a3 libavcodec

extradata and FF_INPUT_BUFFER_PADDING_SIZE doc
author michael
date Mon, 15 Nov 2004 15:53:53 +0000
parents 06e1d7d44d19
children 643724c609ff
files avcodec.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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.
      */