hwcontext_vaapi: Fix compilation with libva versions < 1.4.0
authorMark Thompson <sw@jkqxz.net>
Fri, 27 Apr 2018 12:41:56 +0000 (13:41 +0100)
committerMark Thompson <sw@jkqxz.net>
Fri, 27 Apr 2018 22:42:07 +0000 (23:42 +0100)
commit44cb6474770e6603913cb76e3be4278f663aad3e
treee204d5b97dc94019dfb37b983f19ac3f59643ad2
parenta768c0a3e1fa29eddc7dd348012b3093e476c94e
hwcontext_vaapi: Fix compilation with libva versions < 1.4.0

The BufferHandle API was added in libva 1.4.0 / VAAPI 0.36.0.

(cherry picked from commit 92a0a6bea9dc3087fa8d232b750db1dd0d70b157)
libavutil/hwcontext_vaapi.c