[media] coda: fix readback of CODA_RET_DEC_SEQ_FRAME_NEED
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 11 Jul 2014 09:36:13 +0000 (06:36 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 21 Jul 2014 18:40:34 +0000 (15:40 -0300)
commita500a9388ab6277a507cda0a1eb437d00bdd6840
tree5283b6a1093dceff56f98dfb684f44d1d4b9c4bf
parent1a8b381995e62e347a8bf012002a2e3e24ffb7c7
[media] coda: fix readback of CODA_RET_DEC_SEQ_FRAME_NEED

Previously we'd add one to this value, allocating one additional, superfluous
internal buffer.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/coda.c