]> asedeno.scripts.mit.edu Git - linux.git/commit
media: mtk-vcodec: Handle H264 error bitstreams
authorRui Wang <gtk_ruiwang@mediatek.com>
Wed, 31 Jul 2019 04:29:39 +0000 (01:29 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 7 Aug 2019 20:05:29 +0000 (17:05 -0300)
commit00ab9c1a620dc29f3651d5b61ad12aa327d4dd12
tree45808d3b88e613ba774579e95525d14e27c28f8e
parentb40dc2bf3581748aa772ad2690bd6092b1fca8da
media: mtk-vcodec: Handle H264 error bitstreams

Error h264 bitstreams which picture info are out range of
decoder hardware specification, and no nal start code at the
beginning of the buffer, stop decoding and exit.

Signed-off-by: Rui Wang <gtk_ruiwang@mediatek.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c