vaapi: Make the decode profile matching more explicit
authorMark Thompson <sw@jkqxz.net>
Thu, 9 Nov 2017 01:04:44 +0000 (01:04 +0000)
committerMark Thompson <sw@jkqxz.net>
Sat, 2 Dec 2017 15:21:31 +0000 (15:21 +0000)
commite171022c24c42b1e88a51bb3b4c27f13c87c85cb
treede6cf8a1f99f051571523261cdfb30ad48bfb142
parent4b57f064477cd39e7236897bbbb90b909e6deed2
vaapi: Make the decode profile matching more explicit

Also fixes a bug where it could attempt to decode with an unsupported
codec if allow-profile-mismatch was set.
libavcodec/vaapi_decode.c