Skip to content
Snippets Groups Projects
Commit 585aee4f authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf
Browse files

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
1 merge request!4432[3.0]: fix crash when AV1 hardware decoder fails
Pipeline #399278 passed with stages
in 22 minutes and 6 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment