summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpostproc/postprocess.c4
-rw-r--r--libpostproc/postprocess.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c
index 1e843422be..4890bf841a 100644
--- a/libpostproc/postprocess.c
+++ b/libpostproc/postprocess.c
@@ -694,7 +694,11 @@ static inline void postProcess(uint8_t src[], int srcStride, uint8_t dst[], int
/* -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"
diff --git a/libpostproc/postprocess.h b/libpostproc/postprocess.h
index 52211c5739..cd0bc89a9b 100644
--- a/libpostproc/postprocess.h
+++ b/libpostproc/postprocess.h
@@ -42,7 +42,11 @@
typedef void pp_context_t;
typedef void pp_mode_t;
+#if LIBPOSTPROC_VERSION_INT < (52<<16)
extern const char *const pp_help; ///< a simple help text
+#else
+extern const char pp_help[]; ///< a simple help text
+#endif
void pp_postprocess(uint8_t * src[3], int srcStride[3],
uint8_t * dst[3], int dstStride[3],