aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-09-18 14:19:08 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-09-18 14:43:43 +0200
commit921caf620386cc480da5166dd38dc136bfcd754e (patch)
tree02d3b7f6a40ab0c91487fe22eeb8aa27f884652f
parent44dabf1f422b9d3be470be8ead8f15c802939f7f (diff)
downloadffmpeg-921caf620386cc480da5166dd38dc136bfcd754e.tar.gz
postprocess: make some variables in pp_get_mode_by_name_and_quality() const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libpostproc/postprocess.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c
index 691c9bf9f0..af3219481f 100644
--- a/libpostproc/postprocess.c
+++ b/libpostproc/postprocess.c
@@ -698,12 +698,12 @@ pp_mode *pp_get_mode_by_name_and_quality(const char *name, int quality)
av_log(NULL, AV_LOG_DEBUG, "pp: %s\n", name);
for(;;){
- char *filterName;
+ const char *filterName;
int q= 1000000; //PP_QUALITY_MAX;
int chrom=-1;
int luma=-1;
- char *option;
- char *options[OPTIONS_ARRAY_SIZE];
+ const char *option;
+ const char *options[OPTIONS_ARRAY_SIZE];
int i;
int filterNameOk=0;
int numOfUnknownOptions=0;