OSDN Git Service

libpostproc: Remove crufty code disabled by the big bump.
authorDiego Biurrun <diego@biurrun.de>
Tue, 19 Apr 2011 19:53:48 +0000 (21:53 +0200)
committerDiego Biurrun <diego@biurrun.de>
Wed, 20 Apr 2011 10:18:47 +0000 (12:18 +0200)
libpostproc/postprocess.c
libpostproc/postprocess.h

index 73ffcb4..d7c99e2 100644 (file)
@@ -695,11 +695,7 @@ static inline void postProcess(const uint8_t src[], int srcStride, uint8_t dst[]
 
 /* -pp Command line Help
 */
-#if LIBPOSTPROC_VERSION_INT < (52<<16)
-const char *const pp_help=
-#else
 const char pp_help[] =
-#endif
 "Available postprocessing filters:\n"
 "Filters                        Options\n"
 "short  long name       short   long option     Description\n"
index 9e74589..fe8c9b9 100644 (file)
@@ -67,13 +67,7 @@ const char *postproc_license(void);
 typedef void pp_context;
 typedef void pp_mode;
 
-#if LIBPOSTPROC_VERSION_INT < (52<<16)
-typedef pp_context pp_context_t;
-typedef pp_mode pp_mode_t;
-extern const char *const pp_help; ///< a simple help text
-#else
 extern const char pp_help[]; ///< a simple help text
-#endif
 
 void  pp_postprocess(const uint8_t * src[3], const int srcStride[3],
                      uint8_t * dst[3], const int dstStride[3],