From 10ff3ff43b4c23410218497af3f1d7f8c8bb60e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Petten=C3=B2?= Date: Fri, 4 Jan 2008 07:47:32 +0000 Subject: [PATCH] =?UTF-8?q?Make=20pp=5Fhelp=20a=20constant=20pointer=20to?= =?UTF-8?q?=20constant=20characters,=20moves=20it=20partially=20in=20.roda?= =?UTF-8?q?ta=20(the=20actual=20string)=20and=20partially=20in=20.data.rel?= =?UTF-8?q?ro=20(the=20pointer),=20but=20doesn't=20change=20ABI.=20Patch?= =?UTF-8?q?=20by=20Diego=20'Flameeyes'=20Petten=C3=B2=20=20flameeyes=20at?= =?UTF-8?q?=20gmail=20com?= 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.c | 2 +- libpostproc/postprocess.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c index e52574c397..9f5ab1fcbb 100644 --- a/libpostproc/postprocess.c +++ b/libpostproc/postprocess.c @@ -697,7 +697,7 @@ static inline void postProcess(uint8_t src[], int srcStride, uint8_t dst[], int /* -pp Command line Help */ -char *pp_help= +const char *const pp_help= "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 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],