Commit f79b2bf1 authored by gpoirier's avatar gpoirier

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8552 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent da6b2d2d
......@@ -139,6 +139,8 @@ const AVOption *av_set_string(void *obj, const char *name, const char *val){
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);
......
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