Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 938e20ad authored by Gustavo Padovan's avatar Gustavo Padovan Committed by Mauro Carvalho Chehab
Browse files

[media] vb2: only check ret if we assigned it



Move the ret check to the right level under if (pb). It is not
used by the code before that point if pb is NULL.

Signed-off-by: default avatarGustavo Padovan <gustavo.padovan@collabora.com>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent d5798ee3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment