diff options
Diffstat (limited to 'contrib/libmfx/A00-linux-path-fix.patch')
-rw-r--r-- | contrib/libmfx/A00-linux-path-fix.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/libmfx/A00-linux-path-fix.patch b/contrib/libmfx/A00-linux-path-fix.patch new file mode 100644 index 000000000..544cfbad6 --- /dev/null +++ b/contrib/libmfx/A00-linux-path-fix.patch @@ -0,0 +1,14 @@ +diff --git a/src/mfx_library_iterator_linux.cpp b/src/mfx_library_iterator_linux.cpp +index 46ad511..e2269f3 100644 +--- a/src/mfx_library_iterator_linux.cpp ++++ b/src/mfx_library_iterator_linux.cpp +@@ -332,8 +332,7 @@ mfxStatus MFXLibraryIterator::Init(eMfxImplType implType, mfxIMPL impl, const mf + // set the required library's implementation type + m_implType = implType; + +- snprintf(m_path, sizeof(m_path)/sizeof(m_path[0]), +- "%s/%s/%04x/%04x", mfx_storage_opt, mfx_folder, m_vendorID, m_deviceID); ++ snprintf(m_path, sizeof(m_path)/sizeof(m_path[0]),"%s/%s", mfx_storage_opt, mfx_folder); + + m_libs_num = mfx_list_libraries(m_path, (MFX_LIB_HARDWARE == implType), &m_libs); + |