Commit 94194ffd authored by michael's avatar michael

fixed -npp help ... i think i need more sleep ;)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@245 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 56a06b31
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment