diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-04 21:56:11 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-04 21:56:11 +0000 |
commit | 476e40d32346a8411d9b7e015551ef0c5766d858 (patch) | |
tree | 892cf5ad0507126e3913a0d14bb5cf53de5792fa /postproc | |
parent | 4b31c2005c9600959831638b480c074ccda9cfab (diff) |
fixed -npp help ... i think i need more sleep ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3988 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc')
-rw-r--r-- | postproc/postprocess.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/postproc/postprocess.c b/postproc/postprocess.c index aded48e0b8..2289a9333b 100644 --- a/postproc/postprocess.c +++ b/postproc/postprocess.c @@ -580,13 +580,6 @@ struct PPMode getPPModeByNameAndQuality(char *name, int quality) strncpy(temp, name, GET_MODE_BUFFER_SIZE); - if(!strcmp("help", name)) - { - printf("%s", help); - ppMode.error++; - return ppMode; - } - if(verbose) printf("%s\n", name); for(;;){ @@ -768,6 +761,13 @@ struct PPMode getPPModeByNameAndQuality(char *name, int quality) int readPPOpt(void *conf, char *arg) { int quality; + + if(!strcmp("help", arg)) + { + printf("%s", help); + exit(1); + } + for(quality=0; quality<GET_PP_QUALITY_MAX+1; quality++) { gPPMode[quality]= getPPModeByNameAndQuality(arg, quality); |