shithub: openh264

Download patch

ref: 21e9c8374654b4f24fd1ce0a339b123a2bbc75e4
parent: 19efc59faea66fb0ba76a9e8d67736dc4a0ca7b0
author: Martin Storsjö <[email protected]>
date: Wed Feb 19 10:06:39 EST 2014

Remove the local declarations of the VP interface functions

There's no need to define them manually here, the normal
declarations in IWelsVP.h work just fine even if not loading
the WelsVP library dynamically.

--- a/codec/encoder/core/src/wels_preprocess.cpp
+++ b/codec/encoder/core/src/wels_preprocess.cpp
@@ -45,11 +45,6 @@
 #include "encoder_context.h"
 #include "utils.h"
 
-#ifdef NO_DYNAMIC_VP
-EResult CreateVpInterface (void** ppCtx, int iVersion);
-EResult DestroyVpInterface (void** ppCtx, int iVersion);
-#endif
-
 namespace WelsSVCEnc {
 
 #define WelsSafeDelete(p) if(p){ delete (p); (p) = NULL; }