Skip to content
Snippets Groups Projects
Commit 92c1a83e authored by Luca Barbato's avatar Luca Barbato
Browse files

qsv: Fix loading multiple plugins

av_get_token does not strip the trailing separator.
parent 7e01d48c
No related branches found
No related tags found
No related merge requests found
...@@ -133,6 +133,8 @@ int ff_qsv_init_internal_session(AVCodecContext *avctx, mfxSession *session, ...@@ -133,6 +133,8 @@ int ff_qsv_init_internal_session(AVCodecContext *avctx, mfxSession *session,
goto load_plugin_fail; goto load_plugin_fail;
} }
if (*load_plugins)
load_plugins++;
load_plugin_fail: load_plugin_fail:
av_freep(&plugin); av_freep(&plugin);
if (err < 0) if (err < 0)
......
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