qsv: Error out if getting session handle failed in avfilter
authorZhong Li <zhong.li@intel.com>
Wed, 15 Aug 2018 09:39:33 +0000 (17:39 +0800)
committerLuca Barbato <lu_zero@gentoo.org>
Thu, 23 Aug 2018 06:22:34 +0000 (08:22 +0200)
commite05e5920a4e1f1f15cc8a7c843159d519f6ec18e
tree5540e7bcea82310d810a145dcd7e8e5efcfa19cd
parent662558f985f50834eebe82d6b6854c66f33ab320
qsv: Error out if getting session handle failed in avfilter

Solve some issues found by an automated code scansion.
Suppress the complain "variables 'handle' is used but maybe
uninitialized".

Signed-off-by: Zhong Li <zhong.li@intel.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavfilter/qsvvpp.c
libavfilter/vf_deinterlace_qsv.c
libavfilter/vf_scale_qsv.c