[x264-devel] [PATCH 03/29] x264.h: Disable renaming	x264_encoder_open()
    Vittorio Giovara 
    vittorio.giovara at gmail.com
       
    Thu Feb  2 10:05:15 CET 2017
    
    
  
This forced linked error badly interacts with the upcoming
API to bundle multiple bit depth in a single library.
---
 x264.h | 7 -------
 1 file changed, 7 deletions(-)
diff --git a/x264.h b/x264.h
index eb56b09..381a38c 100644
--- a/x264.h
+++ b/x264.h
@@ -860,13 +860,6 @@ void x264_picture_clean( x264_picture_t *pic );
  * Encoder functions
  ****************************************************************************/
 
-/* Force a link error in the case of linking against an incompatible API version.
- * Glue #defines exist to force correct macro expansion; the final output of the macro
- * is x264_encoder_open_##X264_BUILD (for purposes of dlopen). */
-#define x264_encoder_glue1(x,y) x##y
-#define x264_encoder_glue2(x,y) x264_encoder_glue1(x,y)
-#define x264_encoder_open x264_encoder_glue2(x264_encoder_open_,X264_BUILD)
-
 /* x264_encoder_open:
  *      create a new encoder handler, all parameters from x264_param_t are copied */
 x264_t *x264_encoder_open( x264_param_t * );
-- 
2.10.0
    
    
More information about the x264-devel
mailing list