avcodec: fix crash when AV1 hardware decoder fails
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)
parent
2b24e96a
No related branches found
No related tags found
Loading
Please register or sign in to comment