Skip to content

[3.0]: fix crash when AV1 hardware decoder fails

Jean-Baptiste Kempf requested to merge jbk/vlc:cherry-pick-fecebe15 into 3.0.x

If InitVideoDecCommon() fails, it's already cleaning the decoder, release the context and freeing p_sys.

We must not do anything and just return the error.

(cherry picked from commit fecebe15)

Merge request reports