mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
qsv: Fix loading multiple plugins
av_get_token does not strip the trailing separator.
This commit is contained in:
parent
7e01d48cfd
commit
92c1a83ee9
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user