summaryrefslogtreecommitdiff
path: root/libpostproc/postprocess.h
diff options
context:
space:
mode:
authorDiego Pettenò <flameeyes@gmail.com>2008-01-10 10:16:36 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2008-01-10 10:16:36 +0000
commit69fdc40db7db5982a0fdb1e13fa9208713345cab (patch)
tree98bdb2bf6ab6c1c15e76b600bba6280f1df12899 /libpostproc/postprocess.h
parent649537438eaf5592ce5a08623e0d9e85a484ff40 (diff)
downloadffmpeg-69fdc40db7db5982a0fdb1e13fa9208713345cab.tar.gz
Make pp_help a constant array of characters to move it to .rodata.
Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com Originally committed as revision 11487 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libpostproc/postprocess.h')
-rw-r--r--libpostproc/postprocess.h4
1 files changed, 4 insertions, 0 deletions
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],