mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
libpostproc: alloc a few bytes more in the temporary buffer
This avoids dering reading 4 bytes prior the buffer (1 byte can be used) Fixes Ticket2057 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -871,7 +871,7 @@ static void reallocBuffers(PPContext *c, int width, int height, int stride, int
|
||||
c->stride= stride;
|
||||
c->qpStride= qpStride;
|
||||
|
||||
reallocAlign((void **)&c->tempDst, 8, stride*24);
|
||||
reallocAlign((void **)&c->tempDst, 8, stride*24+32);
|
||||
reallocAlign((void **)&c->tempSrc, 8, stride*24);
|
||||
reallocAlign((void **)&c->tempBlocks, 8, 2*16*8);
|
||||
reallocAlign((void **)&c->yHistogram, 8, 256*sizeof(uint64_t));
|
||||
|
||||
Reference in New Issue
Block a user