Commit 0d2caa37 authored by Loren Merritt's avatar Loren Merritt
Browse files

oops, potential overflow on really large blocks

Originally committed as revision 10587 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent bd49d4fd
......@@ -84,7 +84,7 @@ typedef struct FlacSubframe {
int shift;
RiceContext rc;
int32_t samples[FLAC_MAX_BLOCKSIZE];
int32_t residual[FLAC_MAX_BLOCKSIZE];
int32_t residual[FLAC_MAX_BLOCKSIZE+1];
} FlacSubframe;
typedef struct FlacFrame {
......
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