lavu/qsv: fix a random hwupload failure regression
authorZhong Li <zhong.li@intel.com>
Sun, 30 Sep 2018 09:59:52 +0000 (17:59 +0800)
committerLuca Barbato <lu_zero@gentoo.org>
Wed, 3 Oct 2018 11:10:02 +0000 (11:10 +0000)
commit21733b39d0af5211d7b9f168ff3667ea86362e2b
treef1c01f24294f79bcfa32f0bd547edc4869f4239a
parenta2041a6522642859ce64af1c618d6fb90a50d4af
lavu/qsv: fix a random hwupload failure regression

Variable 'ret' hasn't been initialized´╝îthus introducing a random
hwupload failure regression due to qsv session uninitialized.

Signed-off-by: Zhong Li <zhong.li@intel.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavutil/hwcontext_qsv.c