avcodec/g2meet: Fix framebuf size
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 21 Sep 2013 21:34:11 +0000 (23:34 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 23 Sep 2013 19:46:15 +0000 (21:46 +0200)
commit2b06f5f8f15a4464c74405cd7da57da2d6be5d36
tree42c46c4b8b3ee178dcc52506890aeb2100c88f33
parent0a64b25c77320577a54203b2c7e5f3da4ae36e40
avcodec/g2meet: Fix framebuf size

Currently the code can in some cases draw tiles that hang outside the
allocated buffer. This patch increases the buffer size to avoid out
of array accesses. An alternative would be to fail if such tiles are
encountered.
I do not know if any valid files use such hanging tiles.

Fixes Ticket2971
Found-by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit e07ac727c1cc9eed39e7f9117c97006f719864bd)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/g2meet.c