shithub: openh264

Download patch

ref: 2079e239cd3dc09709a038ee337f3f8223b4e7dd
parent: 8420fd34546e541abcb5b755cee816dc4e6e4374
parent: 7dbdfbcef8ef069d7a8465a64f15f755c390ec11
author: Ethan Hugg <ethanhugg@gmail.com>
date: Sat Jan 25 07:07:40 EST 2014

Merge pull request #218 from varunbpatil/correct_format_spec

Use correct format specifier to avoid compiler warnings

--- a/codec/encoder/core/src/wels_preprocess.cpp
+++ b/codec/encoder/core/src/wels_preprocess.cpp
@@ -112,7 +112,7 @@
   void* shModule = NULL;
   shModule = dlopen (WelsVPLib, RTLD_LAZY);
   if (shModule == NULL)
-    printf ("dlopen %s iRet=%x, err=%s\n", WelsVPLib, shModule, dlerror());
+    printf ("dlopen %s iRet=%p, err=%s\n", WelsVPLib, shModule, dlerror());
 #endif
 
   m_pVpLib = (void*)shModule;
@@ -156,7 +156,7 @@
     void* shModule = m_pVpLib;
     pFunc = (void*)dlsym (shModule, pName);
     if (pFunc == NULL)
-      printf ("dlsym %s iRet=%p, err=%s\n", shModule, pFunc, dlerror());
+      printf ("dlsym %p iRet=%p, err=%s\n", shModule, pFunc, dlerror());
 #endif
   }
 #endif