mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 22:25:36 +01:00
qsv: Fix loading multiple plugins
av_get_token does not strip the trailing separator.
This commit is contained in:
@@ -133,6 +133,8 @@ int ff_qsv_init_internal_session(AVCodecContext *avctx, mfxSession *session,
|
||||
goto load_plugin_fail;
|
||||
}
|
||||
|
||||
if (*load_plugins)
|
||||
load_plugins++;
|
||||
load_plugin_fail:
|
||||
av_freep(&plugin);
|
||||
if (err < 0)
|
||||
|
||||
Reference in New Issue
Block a user