Commit dda9710c authored by alexc's avatar alexc

Revert r22288 "Increase FF_INPUT_BUFFER_PADDING_SIZE to 64."


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22385 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c8c4a67c
...@@ -425,14 +425,12 @@ enum SampleFormat { ...@@ -425,14 +425,12 @@ enum SampleFormat {
/** /**
* Required number of additionally allocated bytes at the end of the input bitstream for decoding. * Required number of additionally allocated bytes at the end of the input bitstream for decoding.
* The first 8 bytes are needed because some optimized bitstream readers read * This is mainly needed because some optimized bitstream readers read
* 32 or 64 bit at once and could read over the end. The remainder is to give * 32 or 64 bit at once and could read over the end.<br>
* decoders a reasonable amount of distance to work with before checking for
* buffer overreads.<br>
* Note: If the first 23 bits of the additional bytes are not 0, then damaged * Note: If the first 23 bits of the additional bytes are not 0, then damaged
* MPEG bitstreams could cause overread and segfault. * MPEG bitstreams could cause overread and segfault.
*/ */
#define FF_INPUT_BUFFER_PADDING_SIZE 64 #define FF_INPUT_BUFFER_PADDING_SIZE 8
/** /**
* minimum encoding buffer size * minimum encoding buffer size
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment