diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2016-03-15 14:10:05 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2016-03-15 16:05:19 +0100 |
commit | 92c1a83ee9394b39d68f6affd9104752a03714f8 (patch) | |
tree | 5553c5dff1fbf5afe39a9ae68a060ba0d2a3ebb7 /libavcodec | |
parent | 7e01d48cfd168c3dfc663f03a3b6a98e0ecba328 (diff) | |
download | ffmpeg-92c1a83ee9394b39d68f6affd9104752a03714f8.tar.gz |
qsv: Fix loading multiple plugins
av_get_token does not strip the trailing separator.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/qsv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/qsv.c b/libavcodec/qsv.c index 3e892e853c..e08518be24 100644 --- a/libavcodec/qsv.c +++ b/libavcodec/qsv.c @@ -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) |