commit | 747993722d20ff6586c1c2237f3fd779036f1c56 | [log] [tgz] |
---|---|---|
author | Dafna Hirschfeld <dafna3@gmail.com> | Wed Mar 06 16:13:35 2019 -0500 |
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | Mon Mar 25 13:50:44 2019 -0400 |
tree | eb1c0b1da8c6694aa9fd1e11028737573265c133 | |
parent | 50e4c5e1b6e4ff583a0335d97a6386a00da56446 [diff] |
media: vicodec: Handle the case that the reference buffer is NULL In the stateless decoder the reference buffer is null if the frame is an I-frame (flagged with FWHT_FL_I_FRAME). Make sure not to dereference it in that case. Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>