[media] coda: fix mvcol buffer for MPEG4 decoding
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 9 Jul 2015 10:10:13 +0000 (07:10 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 17 Jul 2015 13:51:49 +0000 (10:51 -0300)
commitb05959c66e865fb9eb5b93e223da925572130d7f
treecbe8d29c802b4f0afd2a4d47b0183a6c831205e6
parentf964c409f7cc626335cf2370f55690660a273dad
[media] coda: fix mvcol buffer for MPEG4 decoding

The mvcol buffer is allocated at the end of the first internal buffer.
This patch fixes an out of bounds array access.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/coda/coda-bit.c