Skip to content
Snippets Groups Projects
Commit 1093321d authored by Nicolas Dufresne's avatar Nicolas Dufresne
Browse files

media: cedrus: Fix NULL buf dereference


This is a regression introduced after porting to vb2_find_buffer.
The function returnis NULL when the buffer isn't found. The HEVC
decoder would call a helper to get the motion vector buffer address
by passing the index. This is fixed by passing the buffer
pointer instead of the index.

Fixes: 7f361451 ("cedrus: Use vb2_find_buffer")
Signed-off-by: default avatarNicolas Dufresne <nicolas.dufresne@collabora.com>
parent 12082952
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment