# HG changeset patch # User gpoirier # Date 1175245552 0 # Node ID 66aff3b71861e7eba3c1c831c0b2486dabf76894 # Parent 4aedb3b6fa4e196886541ff1fd849e8004151b37 add 'all' and 'none' options for partitions config Patch by Limin Wang % lance P lmwang A gmail P com % Original thread: date: Mar 24, 2007 3:53 PM subject: [Ffmpeg-devel] [PATCH] add all and none options for partitions config diff -r 4aedb3b6fa4e -r 66aff3b71861 opt.c --- a/opt.c Fri Mar 30 06:33:15 2007 +0000 +++ b/opt.c Fri Mar 30 09:05:52 2007 +0000 @@ -139,6 +139,8 @@ else if(!strcmp(buf, "default")) d= o->default_val; else if(!strcmp(buf, "max" )) d= o->max; else if(!strcmp(buf, "min" )) d= o->min; + else if(!strcmp(buf, "none" )) d= 0; + else if(!strcmp(buf, "all" )) d= ~0; else { if (!error) av_log(NULL, AV_LOG_ERROR, "Unable to parse option value \"%s\": %s\n", val, error);