[FFmpeg-cvslog] avcodec: increase padding, fixes ticket313

Michael Niedermayer git at videolan.org
Thu Jun 30 02:23:41 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Jun 29 20:02:08 2011 +0200| [623bf96678d2009d34e88ed7c2b73c00930cebae] | committer: Michael Niedermayer

avcodec: increase padding, fixes ticket313

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=623bf96678d2009d34e88ed7c2b73c00930cebae
---

 libavcodec/avcodec.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 42eabdd..2345b7e 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -429,7 +429,7 @@ enum CodecID {
  * Note: If the first 23 bits of the additional bytes are not 0, then damaged
  * MPEG bitstreams could cause overread and segfault.
  */
-#define FF_INPUT_BUFFER_PADDING_SIZE 8
+#define FF_INPUT_BUFFER_PADDING_SIZE 16
 
 /**
  * minimum encoding buffer size



More information about the ffmpeg-cvslog mailing list