With future drivers and old binaries it may trigger different code
pathes than the latest version.
(cherry picked from commit
e1c9c361849e6042185d123ab559d14fa7d7e8e3)
Gbp-Pq: Name 0064-hw-amf-let-the-AMF-system-know-what-version-was-used.patch
c->Context = NULL;
AMFInit_Fn init = (AMFInit_Fn)GetProcAddress(hLib, AMF_INIT_FUNCTION_NAME);
- res = init(c->Version, &c->pFactory); // use the highest possible value for that DLL
+ res = init(AMF_FULL_VERSION, &c->pFactory);
if (unlikely(res != AMF_OK))
goto error;