Skip to content

avcodec: fix crash when AV1 hardware decoder fails

Steve Lhomme requested to merge robUx4/vlc:av1-failure-crash into master

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.

Merge request reports