From 10ff3ff43b4c23410218497af3f1d7f8c8bb60e0 Mon Sep 17 00:00:00 2001 From: Diego Pettenò Date: Fri, 4 Jan 2008 07:47:32 +0000 Subject: 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 11390 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libpostproc/postprocess.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpostproc/postprocess.h') 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], -- cgit v1.2.3