mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 10:34:05 +00:00
Fixed crash issue on windows when cqmfile was not specified
fclose(cqmfile) crashed on windows when cqmfile was NULL
This commit is contained in:
parent
a860bbc7f9
commit
a6e8373349
|
@ -295,7 +295,7 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
fclose(input);
|
fclose(input);
|
||||||
fclose(output);
|
fclose(output);
|
||||||
fclose(cqmfile);
|
if(cqmfile != NULL) fclose(cqmfile);
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
fclose(recout);
|
fclose(recout);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue