Skip to content
Snippets Groups Projects
Commit fecebe15 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.
parent 288ed93a
No related branches found
No related tags found
No related merge requests found
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