OpenCloudOS-Kernel/drivers/media/platform/coda
Lucas Stach 1f32061e84 media: coda: don't overwrite h.264 profile_idc on decoder instance
On a decoder instance, after the profile has been parsed from the stream
__v4l2_ctrl_s_ctrl() is called to notify userspace about changes in the
read-only profile control. This ends up calling back into the CODA driver
where a missing check on the s_ctrl caused the profile information that has
just been parsed from the stream to be overwritten with the default
baseline profile.

Later on the driver fails to enable frame reordering, based on the wrong
profile information.

Fixes: 347de126d1da (media: coda: add read-only h.264 decoder
                     profile/level controls)

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-24 09:30:54 -04:00
..
Makefile [media] coda: add i.MX6 VDOA driver 2017-01-31 08:10:18 -02:00
coda-bit.c media: coda: add SPS fixup code for frame sizes that are not multiples of 16 2018-07-27 06:58:54 -04:00
coda-common.c media: coda: don't overwrite h.264 profile_idc on decoder instance 2018-09-24 09:30:54 -04:00
coda-gdi.c [media] coda: add macroblock tiling support 2015-07-17 11:28:59 -03:00
coda-h264.c media: coda: add SPS fixup code for frame sizes that are not multiples of 16 2018-07-27 06:58:54 -04:00
coda-jpeg.c [media] coda: relax coda_jpeg_check_buffer for trailing bytes 2015-12-23 14:02:14 -02:00
coda.h media: coda: add SPS fixup code for frame sizes that are not multiples of 16 2018-07-27 06:58:54 -04:00
coda_regs.h media: coda: jpeg: explicitly disable thumbnails in SEQ_INIT 2018-07-04 08:29:31 -04:00
imx-vdoa.c headers: separate linux/mod_devicetable.h from linux/platform_device.h 2018-07-07 17:52:26 +02:00
imx-vdoa.h [media] coda: add i.MX6 VDOA driver 2017-01-31 08:10:18 -02:00
trace.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00