28 Apr
2006
28 Apr
'06
12:12 a.m.
When playing ftp://toro.imec.msu.ru/users/eugeni/1.mkv with a simple filter (without get_image() and slices support), for example -vf tile=1:1, put_image receives images with mpi->h = 360 and chroma_height = 184. Then, vf_get_image generates an image with chroma_height = 180, and memcpy_pic(..., mpi->chroma_height, ...) leads to memory corruption. The same code is found in vf_expand.c, but I was not able to trigger the bug there. Suggested patch uses mpi->h >> mpi->chroma_y_shift instead of mpi->chroma_height. Is this correct, or the problem lies somewhere else ?