diff postprocess.h @ 70:6539cfc12739 libpostproc

Make pp_help a constant array of characters to move it to .rodata. Patch by Diego 'Flameeyes' Petten flameeyes gmail ! com
author benoit
date Thu, 10 Jan 2008 10:16:36 +0000
parents 7737e39e74f3
children 47ff4bd209cd
line wrap: on
line diff
--- a/postprocess.h	Thu Jan 10 10:15:07 2008 +0000
+++ b/postprocess.h	Thu Jan 10 10:16:36 2008 +0000
@@ -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],