[media] coda: fix h.264 quantization parameter range
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 11 Jul 2014 09:36:14 +0000 (06:36 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 21 Jul 2014 18:42:29 +0000 (15:42 -0300)
commit594a750b37efb21a6967851fd19b6a9b6aca2c48
tree2e5ae934bcc7be04a27b2056a4a7e823b2a638b6
parenta500a9388ab6277a507cda0a1eb437d00bdd6840
[media] coda: fix h.264 quantization parameter range

If bitrate is not set, the encoder is running in VBR mode, with the
I- and P-frame quantization parameters configured from userspace.
For the quantization parameters, 0 is a valid value.

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