diff options
author | Stefan Huehner | 2006-06-18 11:33:14 +0000 |
---|---|---|
committer | Diego Biurrun | 2006-06-18 11:33:14 +0000 |
commit | 7b49ce2e344a5f8864d8365d57f3c6c743f0c8f7 (patch) | |
tree | 12c908af01e95ca2df7f4ca20be592871527577e /libpostproc/postprocess.c | |
parent | 3b9bee88891d1c170eb42d1ef51c5cd7f19b5ba5 (diff) |
Add const to (mostly) char* and make some functions static, which aren't used
outside their declaring source file and which have no corresponding prototype.
patch by Stefan Huehner stefan^^@^^huehner^^.^^org
Originally committed as revision 5497 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libpostproc/postprocess.c')
-rw-r--r-- | libpostproc/postprocess.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c index 300ea5c42c..870a8a228d 100644 --- a/libpostproc/postprocess.c +++ b/libpostproc/postprocess.c @@ -161,7 +161,7 @@ static struct PPFilter filters[]= {NULL, NULL,0,0,0,0} //End Marker }; -static char *replaceTable[]= +static const char *replaceTable[]= { "default", "hdeblock:a,vdeblock:a,dering:a", "de", "hdeblock:a,vdeblock:a,dering:a", @@ -766,8 +766,8 @@ pp_mode_t *pp_get_mode_by_name_and_quality(char *name, int quality) { char temp[GET_MODE_BUFFER_SIZE]; char *p= temp; - char *filterDelimiters= ",/"; - char *optionDelimiters= ":"; + const char *filterDelimiters= ",/"; + const char *optionDelimiters= ":"; struct PPMode *ppMode; char *filterToken; |