diff options
author | Boris Brezillon <boris.brezillon@collabora.com> | 2019-09-09 10:28:15 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-10-01 23:11:22 +0300 |
commit | 9db5f87f6723678a7e7e5e3165439c5c4378edbb (patch) | |
tree | 3e34b876d0625955d3097cac3618013d9cba7034 /usr | |
parent | e00cc83ecc3dc4ac9bd9db4f2d6f927d6f43bfd0 (diff) | |
download | linux-9db5f87f6723678a7e7e5e3165439c5c4378edbb.tar.xz |
media: hantro: h264: Fix the frame_num wraparound case
Step '8.2.4.1 Decoding process for picture numbers' was missing in the
reflist creation logic, leading to invalid P reflists when a
->frame_num wraparound happens.
Fixes: a9471e25629b ("media: hantro: Add core bits to support H264 decoding")
Reported-by: Francois Buergisser <fbuergisser@google.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Tested-by: Philipp Zabel <p.zabel@pengutronix.de>
Tested-by: Francois Buergisser <fbuergisser@chromium.org>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions