summaryrefslogtreecommitdiff
path: root/libpostproc/postprocess.h
diff options
context:
space:
mode:
authorDiego Pettenò <flameeyes@gmail.com>2008-01-04 07:47:32 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2008-01-04 07:47:32 +0000
commit10ff3ff43b4c23410218497af3f1d7f8c8bb60e0 (patch)
tree8806f505e3f1c56b67f89918c32125a559f69967 /libpostproc/postprocess.h
parent7564658bbc6a59173906ed281743225366389f70 (diff)
Make pp_help a constant pointer to constant characters, moves it partially
in .rodata (the actual string) and partially in .data.relro (the pointer), but doesn't change ABI. Patch by Diego 'Flameeyes' Pettenò flameeyes at gmail com Originally committed as revision 11390 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libpostproc/postprocess.h')
-rw-r--r--libpostproc/postprocess.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpostproc/postprocess.h b/libpostproc/postprocess.h
index e3ac29e2e4..52211c5739 100644
--- a/libpostproc/postprocess.h
+++ b/libpostproc/postprocess.h
@@ -42,7 +42,7 @@
typedef void pp_context_t;
typedef void pp_mode_t;
-extern char *pp_help; ///< a simple help text
+extern const char *const pp_help; ///< a simple help text
void pp_postprocess(uint8_t * src[3], int srcStride[3],
uint8_t * dst[3], int dstStride[3],