Coverity vaapi

Thanks much. You may decided where to squash which hunk. The first VAAPI one got a bit bigger cause of the -fpermissive default compiler settings.

And that's why indention changes, I only ever added { } in two cases.