diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-04-13 17:31:25 +0100 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-04-13 17:31:36 +0100 |
commit | c1828450686ce240f344924b5b5bcaa84ebdcd9f (patch) | |
tree | 6faf003f52953c6ba9147ef5eac3af8854a0bb24 | |
parent | bdd6275691dc8819bde083533943154c4204a768 (diff) | |
parent | 92c1a83ee9394b39d68f6affd9104752a03714f8 (diff) | |
download | ffmpeg-c1828450686ce240f344924b5b5bcaa84ebdcd9f.tar.gz |
Merge commit '92c1a83ee9394b39d68f6affd9104752a03714f8'
* commit '92c1a83ee9394b39d68f6affd9104752a03714f8':
qsv: Fix loading multiple plugins
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-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 fc22a64351..11d453da85 100644 --- a/libavcodec/qsv.c +++ b/libavcodec/qsv.c @@ -219,6 +219,8 @@ int ff_qsv_init_internal_session(AVCodecContext *avctx, QSVSession *qs, goto load_plugin_fail; } + if (*load_plugins) + load_plugins++; load_plugin_fail: av_freep(&plugin); if (err < 0) |