hwcontext_vaapi: Factorise out common connection code
authorMark Thompson <sw@jkqxz.net>
Sun, 1 Oct 2017 21:51:31 +0000 (22:51 +0100)
committerMark Thompson <sw@jkqxz.net>
Sun, 8 Oct 2017 23:11:53 +0000 (00:11 +0100)
commit5f3978866879ebaa1f1a1f678777df489d3d34f3
treea2e55555c6f70a55b94aaf238efe5bd89e1403eb
parente339411691e3671b595e556ba3411c1acb8c4692
hwcontext_vaapi: Factorise out common connection code

This was duplicated between normal device creation and creation by
derivation from a DRM device.
libavutil/hwcontext_vaapi.c