forked from mirror/libbpg
libbpg-0.9.8
This commit is contained in:
parent
1261ac523b
commit
62bba2b5bf
6 changed files with 18 additions and 5 deletions
|
@ -1396,7 +1396,7 @@ char *x265_param2string(x265_param* p)
|
|||
return NULL;
|
||||
|
||||
#define BOOL(param, cliopt) \
|
||||
s += sprintf(s, " %s", (param) ? cliopt : "no-"cliopt);
|
||||
s += sprintf(s, " %s", (param) ? cliopt : "no-" cliopt);
|
||||
|
||||
s += sprintf(s, "%dx%d", p->sourceWidth,p->sourceHeight);
|
||||
s += sprintf(s, " fps=%u/%u", p->fpsNum, p->fpsDenom);
|
||||
|
|
|
@ -49,7 +49,7 @@ namespace {
|
|||
{\
|
||||
bErr = 0;\
|
||||
p = strstr(opts, opt "=");\
|
||||
char* q = strstr(opts, "no-"opt);\
|
||||
char* q = strstr(opts, "no-" opt);\
|
||||
if (p && sscanf(p, opt "=%d" , &i) && param_val != i)\
|
||||
bErr = 1;\
|
||||
else if (!param_val && !q && !p)\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue