Fix
This commit is contained in:
parent
9a7bcf4430
commit
eefd9b5e65
|
@ -1732,8 +1732,8 @@ static int parse_cmdline_encoder(int argc, char **argv,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((parameters->decod_format == RAW_DFMT || parameters->decod_format == RAWL_DFMT)
|
if ((parameters->decod_format == RAW_DFMT && raw_cp->rawWidth == 0)
|
||||||
&& (raw_cp->rawWidth == 0)) {
|
|| (parameters->decod_format == RAWL_DFMT && raw_cp->rawWidth == 0)) {
|
||||||
fprintf(stderr, "[ERROR] invalid raw/yuv image parameters\n");
|
fprintf(stderr, "[ERROR] invalid raw/yuv image parameters\n");
|
||||||
fprintf(stderr, "Please use the Format option -F:\n");
|
fprintf(stderr, "Please use the Format option -F:\n");
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
|
|
Loading…
Reference in New Issue