Showing the changes to codec/encoder/core/src/wels_preprocess.cpp (1 of 1 file). Show all
Unified · Split
| @@ -112,7 +112,7 @@ CWelsLib::CWelsLib (void* pEncCtx) { · 111 unmodified lines | |||
| 112 | void* shModule = NULL; | 112 | void* shModule = NULL; |
| 113 | shModule = dlopen (WelsVPLib, RTLD_LAZY); | 113 | shModule = dlopen (WelsVPLib, RTLD_LAZY); |
| 114 | if (shModule == NULL) | 114 | if (shModule == NULL) |
| 115 | printf ("dlopen %s iRet=%x, err=%s\n", WelsVPLib, shModule, dlerror()); | 115 | printf ("dlopen %s iRet=%p, err=%s\n", WelsVPLib, shModule, dlerror()); |
| 116 | #endif | 116 | #endif |
| 117 | 117 | ||
| 118 | m_pVpLib = (void*)shModule; | 118 | m_pVpLib = (void*)shModule; |
| @@ -156,7 +156,7 @@ void* CWelsLib::QueryFunction (const str_t* pName) { · 37 unmodified lines | |||
| 156 | void* shModule = m_pVpLib; | 156 | void* shModule = m_pVpLib; |
| 157 | pFunc = (void*)dlsym (shModule, pName); | 157 | pFunc = (void*)dlsym (shModule, pName); |
| 158 | if (pFunc == NULL) | 158 | if (pFunc == NULL) |
| 159 | printf ("dlsym %s iRet=%p, err=%s\n", shModule, pFunc, dlerror()); | 159 | printf ("dlsym %p iRet=%p, err=%s\n", shModule, pFunc, dlerror()); |
| 160 | #endif | 160 | #endif |
| 161 | } | 161 | } |
| 162 | #endif | 162 | #endif |