diff options
| author | Dafna Hirschfeld <[email protected]> | 2019-03-06 16:13:35 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-03-25 13:50:44 -0400 |
| commit | 747993722d20ff6586c1c2237f3fd779036f1c56 (patch) | |
| tree | eb1c0b1da8c6694aa9fd1e11028737573265c133 /drivers/media/v4l2-core/v4l2-ioctl.c | |
| 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 <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-ioctl.c')
0 files changed, 0 insertions, 0 deletions