shithub: openh264

Download patch

ref: 1d167fe7d69af0303ccd9488705d2c94dfc04857
parent: 1342da9bc4335cdfb3152190103c1d12c83a4f06
author: Martin Storsjö <martin@martin.st>
date: Tue Apr 8 07:00:49 EDT 2014

Remove a TODO that is no longer relevant

The function signatures are equal nowadays.

--- a/codec/encoder/core/src/wels_preprocess.cpp
+++ b/codec/encoder/core/src/wels_preprocess.cpp
@@ -86,8 +86,7 @@
     pfnDestroyVpInterface pDestroyVpInterface = NULL;
 
     pCreateVpInterface  = CreateVpInterface;
-    // TODO(ekr@rtfm.com): This cast corrects a signature difference... This is a potential real problem
-    pDestroyVpInterface = (pfnDestroyVpInterface)DestroyVpInterface;
+    pDestroyVpInterface = DestroyVpInterface;
 
     m_pInterface[0] = (void*)pCreateVpInterface;
     m_pInterface[1] = (void*)pDestroyVpInterface;