mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-24 07:35:44 +01:00
Make sure to not set an output stream if the user hasn't requested it.
This commit is contained in:
parent
89fbaf8170
commit
a2390189f8
@ -232,7 +232,10 @@ int _tmain(int argc, _TCHAR* argv[])
|
||||
settings.iQuality = quality;
|
||||
settings.iNumCompressions = numCompressions;
|
||||
settings.iJobSize = numJobs;
|
||||
if(bSaveLog)
|
||||
settings.logStream = &logStream;
|
||||
else
|
||||
settings.logStream = NULL;
|
||||
|
||||
CompressedImage *ci = CompressImage(&img, settings);
|
||||
if(NULL == ci) {
|
||||
|
Loading…
Reference in New Issue
Block a user