libpostproc: Remove crufty code disabled by the big bump.

pull/2/head
Diego Biurrun 14 years ago
parent 5efef54e70
commit a81ff195c1
  1. 4
      libpostproc/postprocess.c
  2. 6
      libpostproc/postprocess.h

@ -695,11 +695,7 @@ static inline void postProcess(const uint8_t src[], int srcStride, uint8_t dst[]
/* -pp Command line Help /* -pp Command line Help
*/ */
#if LIBPOSTPROC_VERSION_INT < (52<<16)
const char *const pp_help=
#else
const char pp_help[] = const char pp_help[] =
#endif
"Available postprocessing filters:\n" "Available postprocessing filters:\n"
"Filters Options\n" "Filters Options\n"
"short long name short long option Description\n" "short long name short long option Description\n"

@ -67,13 +67,7 @@ const char *postproc_license(void);
typedef void pp_context; typedef void pp_context;
typedef void pp_mode; 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 extern const char pp_help[]; ///< a simple help text
#endif
void pp_postprocess(const uint8_t * src[3], const int srcStride[3], void pp_postprocess(const uint8_t * src[3], const int srcStride[3],
uint8_t * dst[3], const int dstStride[3], uint8_t * dst[3], const int dstStride[3],

Loading…
Cancel
Save