On Tue, Mar 15, 2016 at 9:10 AM, Luca Barbato <lu_z...@gentoo.org> wrote: > av_get_token does not strip the trailing separator. > --- > libavcodec/qsv.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libavcodec/qsv.c b/libavcodec/qsv.c > index 3e892e8..e08518b 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) > --
ok I think this is so common we could tinker something about get_token_and_strip_separator probably -- Vittorio _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel