lavu/hwcontext_qsv: Fix the realign check for hwupload
authorLinjie Fu <linjie.fu@intel.com>
Mon, 15 Apr 2019 13:23:40 +0000 (21:23 +0800)
committerZhong Li <zhong.li@intel.com>
Tue, 30 Apr 2019 09:14:23 +0000 (17:14 +0800)
commit2d81acaa1adf2280d74d280491f05f0baa4a31d9
tree6d1921e8ed9ee8580aa98ee9893de143c810a215
parent38c170d54c008ab920d2c1b273fc69ca7a34447c
lavu/hwcontext_qsv: Fix the realign check for hwupload

Fix the aligned check in hwupload, input surface should be 16 aligned
too.

Partly fix #7830.

Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Signed-off-by: Zhong Li <zhong.li@intel.com>
libavutil/hwcontext_qsv.c