diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-06-11 21:18:14 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-11 22:15:29 +0200 |
commit | 67d29da4bd23057a1f646568442a77b844cb2d1b (patch) | |
tree | e67a3bdc42c2e532206084e97b5596f3674e40c6 /libavcodec/avcodec.h | |
parent | ef8725122d23b7dfc23cb87b84267b78d90586ab (diff) | |
download | ffmpeg-67d29da4bd23057a1f646568442a77b844cb2d1b.tar.gz |
avcodec: increase FF_INPUT_BUFFER_PADDING_SIZE to 32
Sometimes the input buffers get directly used as raw images and
SIMD optimized video/image filters can sometimes read more than 16 bytes
over the end.
a specific example is the AVX 24bpp to yuv code
This also fixes fate-vsynth3-rgb
Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 4e02f046cd..68b1f266b2 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -614,7 +614,7 @@ typedef struct AVCodecDescriptor { * 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 16 +#define FF_INPUT_BUFFER_PADDING_SIZE 32 /** * @ingroup lavc_encoding |