swscale-test: allocate more memory to prevent scalers from writing out of bounds
authorRamiro Polla <ramiro.polla@gmail.com>
Thu, 22 Jul 2010 15:30:22 +0000 (15:30 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Thu, 22 Jul 2010 15:30:22 +0000 (15:30 +0000)
commit67e1d52783f506c00d7a12eff3fdb2eb268b8dbd
tree9991d6ae0b7de29b143cdfe0ec49058c67e61b8c
parent65dd2ded3ffe26602e180c40b31c325ad0adba28
swscale-test: allocate more memory to prevent scalers from writing out of bounds

Some converters (ie. unscaled rgb24 -> argb) may write some bytes out of
bounds. Ideally the converters should be fixed, but in the meantime we allocate
more memory to prevent heap corruption.

Originally committed as revision 31768 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
libswscale/swscale-test.c