Skip to content

frontends/va: Return error in vaRenderPicture if decoder is NULL

Lorenz Brun requested to merge lorenz/mesa:fix-vaapi-crash into main

This fixes a crash if a data slice is submitted before the decoder is initialized. A well-behaved application shouldn't encounter this but returning an error is still better than crashing the entire process and the rest of the code is similarly defensive.

Signed-off-by: Lorenz Brun lorenz@brun.one

Merge request reports